hanxin 1 жил өмнө
parent
commit
2977ea6a88

+ 2 - 1
src/services/boom.js

@@ -241,7 +241,7 @@ export async function queryBoomFlowDetail(params) {
       ...item,
       ...item,
       id: item.node_id,
       id: item.node_id,
       renderKey: item.render_key,
       renderKey: item.render_key,
-      zIndex: item.z_index,
+      zIndex: 1,
       isCustom: !!item.is_custom,
       isCustom: !!item.is_custom,
       ports: JSON.parse(item.ports || '{}'),
       ports: JSON.parse(item.ports || '{}'),
     };
     };
@@ -261,6 +261,7 @@ export async function queryBoomFlowDetail(params) {
         cell: item.target_cell,
         cell: item.target_cell,
         port: item.target_port,
         port: item.target_port,
       },
       },
+      zIndex:0
     };
     };
     try {
     try {
       edge.attrs = item.attr ? JSON.parse(item.attr) : attrs;
       edge.attrs = item.attr ? JSON.parse(item.attr) : attrs;