fix: 修复移动端设计界面待选组件区域字体显示比例过大问题

This commit is contained in:
wangjiahao 2023-11-22 19:12:26 +08:00
parent d8b1238409
commit 3e689d9fea
2 changed files with 3 additions and 2 deletions

View File

@ -377,14 +377,14 @@ export default {
return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad
},
scaleCoefficient() {
if (this.terminal === 'pc' && !this.mobileLayoutStatus) {
if (this.terminal === 'pc' && (!this.mobileLayoutStatus || this.showPosition === 'preview-wait')) {
return 1.1
} else {
return 4.5
}
},
scaleCoefficientType() {
if (this.terminal === 'pc' && !this.mobileLayoutStatus) {
if (this.terminal === 'pc' && (!this.mobileLayoutStatus || this.showPosition === 'preview-wait')) {
return 'pc'
} else {
return 'mobile'

View File

@ -33,6 +33,7 @@
:is-edit="false"
:element="config"
:h="outItemHeight"
:show-position="'preview-wait'"
:canvas-style-data="canvasStyleData"
/>