From ffe106598cb2def7e7e905695f5d6893eddcf3fd Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 27 十月 2025 19:35:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-auto-sign'
---
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