|
|
@@ -12,9 +12,9 @@ export default {
|
|
|
},
|
|
|
props: {
|
|
|
belongToNode: {
|
|
|
- type: Number || String,
|
|
|
+ type: Object,
|
|
|
default() {
|
|
|
- return "1";
|
|
|
+ return {};
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -36,6 +36,7 @@ export default {
|
|
|
},
|
|
|
mounted() {},
|
|
|
render() {
|
|
|
+ console.log(this.belongToNode, "this.belongeto");
|
|
|
const node = this.belongToNode;
|
|
|
return (
|
|
|
<div class="add-node-btn-box">
|