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

fix(components): [tree] fix select logic #16362

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

qppq54s
Copy link

@qppq54s qppq54s commented Apr 2, 2024

解决了issue中出现的,如果子节点存在disable节点时,父节点选中逻辑会出现问题。
解决方案是当节点disable时,忽略该节点,不做选择逻辑判断。

closed #16331

Copy link

👋 @qppq54s, seems like this is your first time contribution to element-plus.

  • Please make sure that you have read our guidelines and code of conduct before making a contribution.
  • You can comment with /label Components:[component_name] to add a label for which component you are working on.
  • You may join our Discord for staying tuned.

@pull-request-triage pull-request-triage bot added 1st contribution Their very first contribution Needs Review labels Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

Copy link

github-actions bot commented Apr 2, 2024

Hello @qppq54s, thank you for contributing to element-plus, please see our guideline to see how to make contribution

Copy link

github-actions bot commented Apr 2, 2024

🧪 Playground Preview: https://element-plus.run/?pr=16362
Please comment the example via this playground if needed.

@qppq54s
Copy link
Author

qppq54s commented Apr 2, 2024

Playground Preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Component] [tree] el-tree 有禁用节点,需点击两次复选框才能触发
2 participants