Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

面包屑导航,有重复名字时出现key非唯一性错误。 #2505

Closed
1 task done
tomgao365 opened this issue Jun 29, 2020 · 1 comment
Closed
1 task done
Labels

Comments

@tomgao365
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.2

Environment

vue 2.6

Reproduction link

Edit on CodeSandbox

Steps to reproduce

面包屑导航,有重复名字时出现key非唯一性错误。

Duplicate keys detected: 'xx管理'. This may cause an update error.

What is expected?

可以根据路由的 path 或者指定唯一key标识来做唯一性

What is actually happening?

<Menu.Item key={child.breadcrumbName || child.path}>

@github-actions
Copy link

github-actions bot commented Jul 6, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant