From d0d1e2386ab69f381d84a8170c8909d38d2d8209 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 30 Oct 2024 17:09:51 +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=E9=83=A8=E5=88=86=E7=BB=84=E4=BB=B6=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E7=BC=96=E8=BE=91=E6=97=B6=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/dashboard/MobileConfigPanel.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue b/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue index 2f61c435a1..0394197fb5 100644 --- a/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue +++ b/core/core-frontend/src/views/dashboard/MobileConfigPanel.vue @@ -59,11 +59,10 @@ const handleLoad = () => { // 移动端初始化话 if (!!mobileViewInfo) { Object.keys(mobileViewInfo).forEach(key => { - const { customAttrMobile, customStyleMobile } = canvasViewInfo.value[key] - mobileViewInfo[key]['customAttr'] = - customAttrMobile || canvasViewInfo.value[key]['customAttrMobile'] - mobileViewInfo[key]['customStyle'] = - customStyleMobile || canvasViewInfo.value[key]['customStyleMobile'] + const { customAttrMobile, customStyleMobile, customAttr, customStyle } = + canvasViewInfo.value[key] + mobileViewInfo[key]['customAttr'] = customAttrMobile || customAttr + mobileViewInfo[key]['customStyle'] = customStyleMobile || customStyle }) } canvasViewInfoMobile.value = mobileViewInfo