Kaynağa Gözat

feat: ant-design版本

肖阳 3 yıl önce
ebeveyn
işleme
0aaf5a262f

+ 1 - 0
src/components/DrawFlow/src/DrawFlow.vue

@@ -294,6 +294,7 @@ export default {
     let FlowConfig = JSON.parse(JSON.stringify(this.selfConfig));
     FlowConfig = this.transformTree(FlowConfig);
     this.cacheData = FlowConfig;
+    console.log(FlowConfig, "FlowConfig");
     const root = JSON.parse(JSON.stringify(this.selfConfig[0]));
     return (
       <div class="design-engine">

+ 1 - 1
src/views/Home.vue

@@ -1043,7 +1043,7 @@ export default {
     },
     nodeChange() {
       this.node.content = "nihao";
-      console.log(this.node);
+      this.node.titile = "titile";
       this.$refs.flow.nodeChange(this.node);
     },
     /**