From d866473686bd4110a33f43ede8c6c4cc6a5d1874 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 29 Oct 2024 14:15:17 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20=E6=81=A2=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/canvasUtils.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/core-frontend/src/utils/canvasUtils.ts b/core/core-frontend/src/utils/canvasUtils.ts index 73e49184c6..2bebf4f04a 100644 --- a/core/core-frontend/src/utils/canvasUtils.ts +++ b/core/core-frontend/src/utils/canvasUtils.ts @@ -795,3 +795,13 @@ export function onInitReady(params) { console.warn('de_inner_params send error') } } + +export function mobileViewStyleSwitch(component) { + if (component) { + const viewInfo = canvasViewInfo.value[component.id] + viewInfo.customStyle = component.customStyle + viewInfo.customAttr = component.customAttr + viewInfo.title = component.title + viewInfo.name = component.name + } +}