fix: breadcrumb duplicate keys detected #2505

close #2505
pull/2525/head
tangjinzhou 2020-07-05 11:08:03 +08:00
parent fff8d6ca4a
commit fa06586070
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export default {
overlay = (
<Menu>
{route.children.map(child => (
<Menu.Item key={child.breadcrumbName || child.path}>
<Menu.Item key={child.path || child.breadcrumbName}>
{itemRender({
route: child,
params,