-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(n-cascader): provide all top Key values in callback function #1298
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/tusimple/naive-ui/5LMHZqAV4taVUms7U2PKPUoaDNRo |
Codecov Report
@@ Coverage Diff @@
## main #1298 +/- ##
==========================================
+ Coverage 51.90% 51.96% +0.06%
==========================================
Files 529 529
Lines 13109 13116 +7
Branches 3737 3737
==========================================
+ Hits 6804 6816 +12
- Misses 5179 5182 +3
+ Partials 1126 1118 -8
Continue to review full report at Codecov.
|
src/cascader/src/Cascader.tsx
Outdated
checkedKeys.map((checkedKey) => | ||
getPath(checkedKey).treeNodePath.map((v) => v.rawNode) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注意 null,是有可能的
close #1235