diff --git a/core/frontend/src/components/canvas/components/editor/Preview.vue b/core/frontend/src/components/canvas/components/editor/Preview.vue index 5868dc1b7f..cd14f8d08c 100644 --- a/core/frontend/src/components/canvas/components/editor/Preview.vue +++ b/core/frontend/src/components/canvas/components/editor/Preview.vue @@ -816,10 +816,14 @@ export default { component.style[key] = this.format(component.style[key], this.scaleWidth) } if (this.needToChangeInnerWidth.includes(key)) { - if ((key === 'fontSize' || key === 'activeFontSize') && (this.terminal === 'mobile' || ['custom', 'v-text'].includes(component.type))) { + if ((key === 'fontSize' || key === 'activeFontSize') && (this.terminal === 'mobile' || ['custom'].includes(component.type))) { // do nothing 移动端字符大小无需按照比例缩放,当前保持不变(包括 v-text 和 过滤组件) } else { - component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth) + if (key === 'fontSize') { + component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth * 1.6) + } else { + component.style[key] = this.formatPoint(component.style[key], this.previewCanvasScale.scalePointWidth) + } } } })