fix: 模块选择框清除时没有清除选中id

This commit is contained in:
chenjianxing 2022-04-21 12:09:47 +08:00 committed by zhangdahai112
parent d94476b65f
commit adb935cc2a
1 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export default {
return false;
}
},
//
//
clearable: {
type: Boolean,
default() {
@ -288,8 +288,9 @@ export default {
this.$refs.tree.setCurrentKey(null);//key
this.returnDatas = null;
this.returnDataKeys = '';
this.selectNodeIds = [];
this.popoverHide();
this.$emit('clean')
this.$emit('clean');
},
//: key
setKey(thisKey) {