jxq пре 2 недеља
родитељ
комит
f2131c7c67
1 измењених фајлова са 7 додато и 8 уклоњено
  1. 7 8
      src/views/base/craftManagement/route/bindProcess.vue

+ 7 - 8
src/views/base/craftManagement/route/bindProcess.vue

@@ -81,12 +81,12 @@
             @node-drag-start="nodeDragStart"
           >
             <MiniMap style="background-color: grey" v-show="!printStauts" />
-            <template #edge-custom="props">
-              <CustomConnectionLine v-bind="props" />
-            </template>
-            <template #connection-line="props">
-              <CustomConnectionLine v-bind="props" />
-            </template>
+            <!--            <template #edge-custom="props">-->
+            <!--              <CustomConnectionLine v-bind="props" />-->
+            <!--            </template>-->
+            <!--            <template #connection-line="props">-->
+            <!--              <CustomConnectionLine v-bind="props" />-->
+            <!--            </template>-->
             <template #node-custom="props">
               <CustomNode v-bind="props" />
             </template>
@@ -344,6 +344,7 @@ const { onDragOver, onDrop, onDragLeave, isDragOver, onDragStart } =
 // onConnect(addEdges);
 const onConnectMethod = (edge) => {
   edge.type = "custom";
+  edge.markerEnd = "arrowclosed";
   addEdges(edge);
 };
 
@@ -503,8 +504,6 @@ const errArray = ref([]);
 provide("errArray", errArray);
 // 保存中间的工序列表
 const saveFlow = async () => {
-  console.log("saveFlow", flowData);
-  return;
   const { code, msg } = await saveProcessInRoute({
     processRouteId: route.fullPath.split("/")[4],
     routeData: JSON.stringify({ ...flowData }),