From 19347664af83c42b46d463f24e31cce508e9fffd Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Mon, 29 Jan 2024 17:35:38 +0800 Subject: [PATCH] 1 --- src/mixin/drawMixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixin/drawMixin.js b/src/mixin/drawMixin.js index feeb92a..b3a3747 100644 --- a/src/mixin/drawMixin.js +++ b/src/mixin/drawMixin.js @@ -8,7 +8,7 @@ const scale = { // * 设计稿尺寸(px) const baseWidth = 1920 -const baseHeight = 1440 +const baseHeight = 1080 // * 需保持的比例(默认1.77778) const baseProportion = parseFloat((baseWidth / baseHeight).toFixed(5))