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

Can the tree component provide a method getCheckedNodes() ? #3648

Open
1 task
hello-piper opened this issue Feb 4, 2021 · 3 comments
Open
1 task

Can the tree component provide a method getCheckedNodes() ? #3648

hello-piper opened this issue Feb 4, 2021 · 3 comments

Comments

@hello-piper
Copy link

hello-piper commented Feb 4, 2021

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

What problem does this feature solve?

Want to get half-selected tree node

If the node can be selected (show-checkbox is true), it returns the currently selected array of node's keys

(leafOnly) Accept a boolean type parameter whose default value is false. If the parameter is true, it only returns the currently selected array of sub-nodes.

What does the proposed API look like?

Can refer to https://element.eleme.cn/#/en-US/component/tree

@github-actions
Copy link

github-actions bot commented Apr 6, 2021

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Apr 6, 2021
@hello-piper
Copy link
Author

没人说话吗

@zkwolf
Copy link
Member

zkwolf commented Apr 7, 2021

半选的暂时先从onCheck参数里取吧

@zkwolf zkwolf added enhancement and removed Stale labels Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants