From 3e689d9fea0b998f2090309c5f433c3c019b8593 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 22 Nov 2023 19:12:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E8=AE=BE=E8=AE=A1=E7=95=8C=E9=9D=A2=E5=BE=85=E9=80=89?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=8C=BA=E5=9F=9F=E5=AD=97=E4=BD=93=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=AF=94=E4=BE=8B=E8=BF=87=E5=A4=A7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/customComponent/UserView.vue | 4 ++-- core/frontend/src/views/panel/edit/ComponentWaitItem.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index adcae86e46..eb1248f805 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -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' diff --git a/core/frontend/src/views/panel/edit/ComponentWaitItem.vue b/core/frontend/src/views/panel/edit/ComponentWaitItem.vue index 57753a534c..34c8370495 100644 --- a/core/frontend/src/views/panel/edit/ComponentWaitItem.vue +++ b/core/frontend/src/views/panel/edit/ComponentWaitItem.vue @@ -33,6 +33,7 @@ :is-edit="false" :element="config" :h="outItemHeight" + :show-position="'preview-wait'" :canvas-style-data="canvasStyleData" />