From f3d746181155c223bccdafcbbc45041e944e5eaa Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 21 十月 2025 20:20:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into dev-1.2.0.2

---
 src/fabric-editor/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/fabric-editor/index.vue b/src/fabric-editor/index.vue
index e0b3d49..0acf7c9 100644
--- a/src/fabric-editor/index.vue
+++ b/src/fabric-editor/index.vue
@@ -72,6 +72,7 @@
 import './plugin/fabric-history';
 import { MyHistoryPlugin } from './plugin/MyHistoryPlugin';
 import { TemplateParamExtensionKey } from './customObject';
+import { CanvasHeight, CanvasWidth } from './constants';
 
 const route = useRoute();
 const id = (route.params.id as string) ?? '';
@@ -109,8 +110,8 @@
     controlsAboveOverlay: true, // 瓒呭嚭clipPath鍚庝粛鐒跺睍绀烘帶鍒舵潯
     // imageSmoothingEnabled: false, // 瑙e喅鏂囧瓧瀵煎嚭鍚庝笉娓呮櫚闂
     preserveObjectStacking: true, // 褰撻�夋嫨鐢诲竷涓殑瀵硅薄鏃讹紝璁╁璞′笉鍦ㄩ《灞傘��
-    width: 595,
-    height: 842,
+    width: CanvasWidth,
+    height: CanvasHeight,
   });
   console.log('canvas: ', canvas);
 

--
Gitblit v1.9.1