mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
[tree]:add node-expand and node-collapse event
This commit is contained in:
@@ -143,6 +143,7 @@
|
||||
},
|
||||
handleNodeExpand(nodeData, node, instance) {
|
||||
this.broadcast('ElTreeNode', 'tree-node-expand', node);
|
||||
this.$emit('node-expand', nodeData, node, instance);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user