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

pull/2656/head^2
Tom Gao 2020-07-26 15:49:11 +08:00 committed by GitHub
parent 471a81beda
commit cd467abf18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>