Update cascader-panel.vue

pull/21975/head
chinachaijin 2022-07-06 16:57:38 +08:00 committed by GitHub
parent 1dd1e8b577
commit 9cce4f339d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ export default {
const leafKey = this.config.leaf;
if (Array.isArray(dataList) && dataList.filter(item => item[valueKey] === nodeValue).length > 0) {
const checkedNode = this.store.getNodeByValue(nodeValue);
const checkedNode = this.store.getNodeByValue(nodeValue, node.level + 1);
if (!checkedNode.data[leafKey]) {
this.lazyLoad(checkedNode, () => {