Skip to content

[Bug] 当存在checkbox与树形展示的时候,一个子元素(不是叶子元素)的勾选导致另一组的父元素被勾选 #3891

@ztygod

Description

@ztygod

Version

1.18.2

Link to Minimal Reproduction

本地启动,选择list-tree-checkbox或者list-checkbox-tree,点击“器具”后展开,可复现

Steps to Reproduce

  1. 本地启动
  2. 选择list-tree-checkbox或者list-checkbox-tree。
  3. 勾选“器具”,务必保持“器具”处于折叠状态
  4. 点击“器具”,使其展开
  5. 可以发现,不属于同一组的“技术”也同样被勾选

Image

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions