From 85e4e17ae70ee5adb943f4f39e916bb466ad9eca Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 11 Mar 2024 13:52:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=8E=86=E5=8F=B2=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E5=AD=97=E4=BD=93=E6=98=BE=E7=A4=BA=E8=BE=83=E5=A4=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/components/editor/Preview.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/frontend/src/components/canvas/components/editor/Preview.vue b/core/frontend/src/components/canvas/components/editor/Preview.vue index 8c44268e78..a47e9c757f 100644 --- a/core/frontend/src/components/canvas/components/editor/Preview.vue +++ b/core/frontend/src/components/canvas/components/editor/Preview.vue @@ -842,11 +842,7 @@ export default { if ((key === 'fontSize' || key === 'activeFontSize') && (this.terminal === 'mobile' || ['custom'].includes(component.type))) { // do nothing 移动端字符大小无需按照比例缩放,当前保持不变(包括 v-text 和 过滤组件) } else { - if (key === 'fontSize' && component.component !== 'de-tabs') { - component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth * 1.4) - } else { - component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth) - } + component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth) } } })