Commit 775d5c16 authored by qingwei.li's avatar qingwei.li Committed by 杨奕

Tree: Remove undefined variable, fixed #1945

parent 6f75ca61
......@@ -133,12 +133,12 @@
this.tree.$emit('current-change', store.currentNode ? store.currentNode.data : null, store.currentNode);
this.tree.currentNode = this;
if (this.tree.expandOnClickNode) {
this.handleExpandIconClick(event);
this.handleExpandIconClick();
}
this.tree.$emit('node-click', this.node.data, this.node, this);
},
handleExpandIconClick(event) {
handleExpandIconClick() {
if (this.expanded) {
this.node.collapse();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment