组织机构选择组件修改

This commit is contained in:
qinjie 2021-09-01 14:49:07 +08:00
parent 24d3811344
commit c69726e30d
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ export default {
selectTree(selectedKeys, e) { selectTree(selectedKeys, e) {
this.selectKey = e.node.dataRef.key; this.selectKey = e.node.dataRef.key;
this.selectTitle = e.node.dataRef.title; this.selectTitle = e.node.dataRef.title;
this.defaultSelectedKeys = [];
this.defaultSelectedKeys.push(this.selectKey);
this.$emit('getSelectTreeKey', this.selectKey); this.$emit('getSelectTreeKey', this.selectKey);
}, },
// / // /