Skip to content

[Bug] 当树形展示和checkbox同时存在时,全部勾选尾部二级元素的所有子元素时,二级元素无法与子元素同步状态 #3900

@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