From b208aa235aa84f4667ae2c222e3956fafd5186db Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 17 Jul 2024 12:01:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8C=85=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/pages/panel/DashboardPreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/pages/panel/DashboardPreview.vue b/core/core-frontend/src/pages/panel/DashboardPreview.vue index e87213499d..7f4f5f5e3b 100644 --- a/core/core-frontend/src/pages/panel/DashboardPreview.vue +++ b/core/core-frontend/src/pages/panel/DashboardPreview.vue @@ -75,7 +75,7 @@ onBeforeMount(async () => { canvasViewInfoPreview, curPreviewGap }) { - if (!isPc && !dvInfo.mobileLayout) { + if (!isPc.value && !dvInfo.mobileLayout) { dvMainStore.setMobileInPc(true) dvMainStore.setInMobile(true) useEmitt().emitter.emit('changeCurrentComponent', 'DashboardEmpty')