Cascader: fix lazy load make checked mess (#21093)

pull/21094/head
Duncanxyz 2021-06-22 14:09:56 +08:00
parent 318e89b40a
commit 95125869a1
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
const { isLeaf } = this;
if (!isLeaf) this.handleExpand();
if (multiple) {
if (multiple && !checkStrictly) {
// if leaf sync checked state, else clear checked state
const checked = isLeaf ? node.checked : false;
this.handleMultiCheckChange(checked);