From eaa7a0e2a633c25afd118d6d9e6ebe6cc857c6a4 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 19 Sep 2024 21:50:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=95=B4=E4=BD=93?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E8=AE=BE=E7=BD=AE=E6=97=A0=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subject-setting/dashboard-style/OverallSetting.vue | 2 +- core/core-frontend/src/utils/canvasUtils.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue index 623ecc9b08..5757699be4 100644 --- a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue +++ b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/OverallSetting.vue @@ -76,7 +76,7 @@ 整体刷新 diff --git a/core/core-frontend/src/utils/canvasUtils.ts b/core/core-frontend/src/utils/canvasUtils.ts index 65d0df006b..3049a5017e 100644 --- a/core/core-frontend/src/utils/canvasUtils.ts +++ b/core/core-frontend/src/utils/canvasUtils.ts @@ -219,7 +219,9 @@ export function historyAdaptor( canvasStyleResult.component['seniorStyleSetting'] || deepCopy(SENIOR_STYLE_SETTING_LIGHT) canvasStyleResult['screenAdaptor'] = canvasStyleResult['screenAdaptor'] || 'widthFirst' canvasStyleResult['refreshBrowserEnable'] = - canvasStyleResult['refreshBrowserEnable'] !== undefined + canvasStyleResult['refreshBrowserEnable'] === undefined + ? false + : canvasStyleResult['refreshBrowserEnable'] canvasStyleResult['refreshBrowserUnit'] = canvasStyleResult['refreshBrowserUnit'] || 'minute' canvasStyleResult['refreshBrowserTime'] = canvasStyleResult['refreshBrowserTime'] || 5 // 同步宽高比例(大屏使用)