소스 검색

fix: 修复 Canvas 坐标转换问题

yusheng 1 개월 전
부모
커밋
b28e8a11bd
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/components/addDoc/seal.vue

+ 4 - 4
src/components/addDoc/seal.vue

@@ -341,11 +341,11 @@
           // 根据签章类型设置尺寸:公用章 120x120,个人章 120x40
           let width, height;
           if (data.sealType === 'private') {
-            width = 120;
-            height = 40;
+            width = 210;
+            height = 70;
           } else {
-            width = 120;
-            height = 120;
+            width = 200;
+            height = 200;
           }
 
           const posX = x - width / 2;