ElemeFE / ElemeFE/element

[bug report] el-tree default-checked-keys show unexpected

Open
#20,775 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

#20779

https://github.com/ElemeFE/element/blob/20c7cc9c5050c38b8066091972946bb35ec18c0a/packages/tree/src/model/node.js#L376

when use `default-checked-keys` with `lazy`, if set multi child select( >2), then all sibling child will checked
[online detail](https://codepen.io/genffy/pen/VwmWKZe?editors=1111)
![image](https://user-images.githubusercontent.com/1506972/108355198-7491ca00-7225-11eb-8f51-9278d87a544d.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.