From 21c0f25b25d4fe8d94e9c4fd80017401d8175737 Mon Sep 17 00:00:00 2001 From: zyh Date: Tue, 23 May 2023 14:45:42 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E5=A4=8DdashboardTab?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/bottomBox/tabs/dashboardTab.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue index eb10fab8c..20e18bdff 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/dashboardTab.vue @@ -880,8 +880,10 @@ export default { }, showPanel: { handler () { - this.setDefaultTimeRange() - this.setDefaultRefresh() + if (this.from !== this.fromRoute.dashboardTemp) { + this.setDefaultTimeRange() + this.setDefaultRefresh() + } } }, // 监听图表联动配置