tangjunhao hace 3 meses
padre
commit
3180264324
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/model/vueflow/index.vue

+ 1 - 1
src/views/model/vueflow/index.vue

@@ -194,7 +194,7 @@ onConnect(async (connection) => {
   const targetNode = vueFlowRef.value.getNode(connection.target);
 
   // 是否需要中间节点
-  const isCom3 = sourceNode.data.comID === '3' || targetNode.data.comID === '3';
+  const isCom3 = sourceNode.data.comId === '3' || targetNode.data.comId === '3';
 
   if (isCom3) {
     //(comID == 3)