fix: cascader lazyLoad radio check expand

pull/22444/head
Chenlin.Fan 2023-03-14 10:29:50 +08:00
parent f14b5ba540
commit b0118ddb73
1 changed files with 4 additions and 2 deletions

View File

@ -75,9 +75,11 @@
}, },
handleCheckChange() { handleCheckChange() {
const { panel, value, node } = this; const { panel, value, node, config } = this;
panel.handleCheckChange(value); panel.handleCheckChange(value);
panel.handleExpand(node); if (!config.lazy) {
panel.handleExpand(node);
}
}, },
handleMultiCheckChange(checked) { handleMultiCheckChange(checked) {