소스 검색

fix: 修复创建虚线线条异常的bug

pipipi-pikachu 5 년 전
부모
커밋
0e094388c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/hooks/useCreateElement.ts

+ 1 - 1
src/hooks/useCreateElement.ts

@@ -157,7 +157,7 @@ export default () => {
       end,
       points: data.points,
       color: themeColor.value,
-      style: 'solid',
+      style: data.style,
       width: 2,
     })
   }