-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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
fix: Breadcrumb 默认使用path作为唯一key #21583
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 78f54cd:
|
更新下snapshot |
@yoyo837 怎么更新额? |
看到贡献文档了,我会把这个加上 |
update latest code from antd
Codecov Report
@@ Coverage Diff @@
## master #21583 +/- ##
=========================================
Coverage ? 97.85%
=========================================
Files ? 305
Lines ? 7008
Branches ? 1930
=========================================
Hits ? 6858
Misses ? 150
Partials ? 0
Continue to review full report at Codecov.
|
Breadcrumb 当前默认优先使用name作为key,但是在多级菜单的时候name很容易出现重复的情况,这就会导致key出现重复,而path是唯一的,所以优先使用path作为key。
同时解决ant-design-pro的这个问题:ant-design/ant-design-pro#3904
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge