[Bug] 当存在checkbox与树形展示的时候,一个子元素(不是叶子元素)的勾选导致另一组的父元素被勾选
Open
@ztygod is already working on this.
Since May 15, 2025.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.18.2
Link to Minimal Reproduction
本地启动,选择list-tree-checkbox或者list-checkbox-tree,点击“器具”后展开,可复现
Steps to Reproduce
- 本地启动
- 选择list-tree-checkbox或者list-checkbox-tree。
- 勾选“器具”,务必保持“器具”处于折叠状态
- 点击“器具”,使其展开
- 可以发现,不属于同一组的“技术”也同样被勾选
Current Behavior
勾选“器具”后展开,“技术“被勾选
Expected Behavior
勾选“器具”后展开,“技术“不应被勾选
Environment
- OS: macOS Sequoia 15.1 (24B2082)
- Browser: Chrome 135.0.7049.115
- Framework: Not involved
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.