组织机构选择组件修改
This commit is contained in:
parent
24d3811344
commit
c69726e30d
|
@ -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);
|
||||||
},
|
},
|
||||||
// 展开/收起节点时触发
|
// 展开/收起节点时触发
|
||||||
|
|
Loading…
Reference in New Issue