diff --git a/frontend/src/business/components/common/select-tree/SelectTree.vue b/frontend/src/business/components/common/select-tree/SelectTree.vue index e7661c0488..87905ac11d 100644 --- a/frontend/src/business/components/common/select-tree/SelectTree.vue +++ b/frontend/src/business/components/common/select-tree/SelectTree.vue @@ -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) {