Browse Source

fix: breadcrumb duplicate keys detected #2505 (#2599)

pull/2656/head^2
Tom Gao 4 years ago committed by GitHub
parent
commit
cd467abf18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/breadcrumb/Breadcrumb.jsx

2
components/breadcrumb/Breadcrumb.jsx

@ -93,7 +93,7 @@ export default {
<BreadcrumbItem
overlay={overlay}
separator={separator}
key={route.breadcrumbName || path}
key={path || route.breadcrumbName}
>
{itemRender({ route, params, routes, paths, h: this.$createElement })}
</BreadcrumbItem>

Loading…
Cancel
Save