소스 검색

修改线拉不出来的问题

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),
               };
             });