CzRger 3 周之前
父节点
当前提交
928f9dad7d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/process/chart/index.vue

+ 1 - 1
src/views/process/chart/index.vue

@@ -311,8 +311,8 @@ const initNodes = () => {
     props.data.nodes.forEach((v) => {
       state.graph.addNode(handleNode(v))
     })
-    initEdges()
   }
+  initEdges()
 }
 const initEdges = () => {
   if (!state.isInitEdges) {