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