Explorar o código

取消每次生成新节点 都会自动触发click函数

肖阳 %!s(int64=4) %!d(string=hai) anos
pai
achega
8314db5bff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/DrawFlow/src/DrawFlow.vue

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

@@ -117,7 +117,7 @@ export default {
     getRowNode(nextNode) {
       let node = [new RowNode(nextNode)];
       let selfConfig = this.repickArr(node[0]);
-      this.clickNode(node[0]);
+      // this.clickNode(node[0]);
       return { node, selfConfig };
     },
     /**