fix: 元素库级联刷新错误

This commit is contained in:
chenjianxing 2022-04-26 22:13:10 +08:00 committed by jianxing
parent 7d5b2fffb0
commit 946720a680
1 changed files with 3 additions and 1 deletions

View File

@ -299,6 +299,7 @@ export default {
if (node && node.data) {
this.setData(node.data);
}
this.popoverHide();
},
//
setData(data) {
@ -306,7 +307,8 @@ export default {
this.options.push({label: data[this.obj.label], value: data[this.obj.id]});
this.returnDatas = data;
this.returnDataKeys = data[this.obj.id]
this.selectNodeIds = [];
this.getChildNodeId(data, this.selectNodeIds);
},
//: keys
setKeys(thisKeys) {