@@ -131,6 +131,7 @@ export default {
let arr = [];
this.defaultNode.forEach(v => {
let node = this.$refs.tree.getNode(v);
+ debugger
arr.push(node.data)
})
this.sNodeList = arr;
@@ -275,7 +276,7 @@ export default {
},
model: {
prop: "defaultNode",
- event: "selectNode",
+ event: "selectNodeId",
};
</script>