mirror of https://github.com/ElemeFE/element
Cascader: fix lazy load make checked mess (#21093)
parent
318e89b40a
commit
95125869a1
|
@ -63,7 +63,7 @@
|
||||||
const { isLeaf } = this;
|
const { isLeaf } = this;
|
||||||
|
|
||||||
if (!isLeaf) this.handleExpand();
|
if (!isLeaf) this.handleExpand();
|
||||||
if (multiple) {
|
if (multiple && !checkStrictly) {
|
||||||
// if leaf sync checked state, else clear checked state
|
// if leaf sync checked state, else clear checked state
|
||||||
const checked = isLeaf ? node.checked : false;
|
const checked = isLeaf ? node.checked : false;
|
||||||
this.handleMultiCheckChange(checked);
|
this.handleMultiCheckChange(checked);
|
||||||
|
|
Loading…
Reference in New Issue