fix: 修复移动端设计界面待选组件区域字体显示比例过大问题
This commit is contained in:
parent
d8b1238409
commit
3e689d9fea
@ -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'
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
:is-edit="false"
|
||||
:element="config"
|
||||
:h="outItemHeight"
|
||||
:show-position="'preview-wait'"
|
||||
:canvas-style-data="canvasStyleData"
|
||||
/>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user