Преглед изворни кода

修改线拉不出来的问题

Renxy пре 2 година
родитељ
комит
c814c08bef
1 измењених фајлова са 1 додато и 0 уклоњено
  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),
               };
             });