Pārlūkot izejas kodu

修改线拉不出来的问题

Renxy 2 gadi atpakaļ
vecāks
revīzija
c814c08bef
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/components/Flow/index.tsx

+ 1 - 0
src/components/Flow/index.tsx

@@ -142,6 +142,7 @@ export const Demo: React.FC<IProps> = props => {
                 id: item.id,
                 source: item.source,
                 target: item.target,
+                zIndex: 0,
                 // attr: JSON.stringify(item.attrs),
               };
             });