From 2bb9cdabc4679b525fe752bbf0cbf622ba06f9b8 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 28 May 2024 12:15:20 +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=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E5=B8=83=E5=B1=80=E5=8F=98=E5=BD=A2=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/components/canvas/components/editor/Preview.vue b/core/frontend/src/components/canvas/components/editor/Preview.vue index 927ccbd25f..845aaec10f 100644 --- a/core/frontend/src/components/canvas/components/editor/Preview.vue +++ b/core/frontend/src/components/canvas/components/editor/Preview.vue @@ -843,7 +843,7 @@ export default { if (this.componentData) { const componentData = deepCopy(this.componentData) componentData.forEach(component => { - if (component.type === 'custom') { + if (component.type === 'custom' && !this._isMobile) { const sourceComponent = this.findSourceComponent(component.id) if (sourceComponent?.style) { component.style = deepCopy(this.findSourceComponent(component.id).style)