Duplicate Declaration On onClick Method

There Were Two Methods With The Same Name
This commit is contained in:
Hamza Ironside
2019-06-15 05:56:21 +03:00
committed by GitHub
parent e38102ed71
commit 51167862c9

View File

@@ -120,10 +120,7 @@ A vue component for tree structure. Support adding treenode/leafnode, editing no
vm.newTree = _dfs(vm.data)
},
onClick(model) {
console.log(model)
}
}
}
</script>
@@ -202,4 +199,4 @@ The component has default icons for `addTreeNode`, `addLeafNode`, `editNode`, `d
<span class="icon" slot="addLeafNode">addLeafNode</span>
<span class="icon" slot="editNode">editNode</span>
<span class="icon" slot="delNode">delNode</span>
```
```