[tree]:add node-expand and node-collapse event

This commit is contained in:
张华焱
2017-01-24 10:37:44 +08:00
parent 46e83f4895
commit 8bf9c7d9ac
5 changed files with 11 additions and 9 deletions

View File

@@ -143,6 +143,7 @@
},
handleNodeExpand(nodeData, node, instance) {
this.broadcast('ElTreeNode', 'tree-node-expand', node);
this.$emit('node-expand', nodeData, node, instance);
}
},