Explorar o código

feat: ant-design版本

肖阳 %!s(int64=3) %!d(string=hai) anos
pai
achega
0aaf5a262f
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      src/components/DrawFlow/src/DrawFlow.vue
  2. 1 1
      src/views/Home.vue

+ 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);
     },
     /**