From c4cd580cf7edb7585810557c24854f91233d2b12 Mon Sep 17 00:00:00 2001 From: betaqi <3188864257@qq.com> Date: Wed, 17 Sep 2025 16:09:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=B6=E9=97=B4=E6=B8=85=E7=A9=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/stationData/topology/components/detailDrawer.vue | 2 +- src/views/stationData/transfer/components/deviceDrawer.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/stationData/topology/components/detailDrawer.vue b/src/views/stationData/topology/components/detailDrawer.vue index 027d6c6..3ef1048 100644 --- a/src/views/stationData/topology/components/detailDrawer.vue +++ b/src/views/stationData/topology/components/detailDrawer.vue @@ -320,6 +320,7 @@ function setChartData(pointData: any[]) { function handleBeforeClose(done: () => void) { + time.value = undefined isShowDrawer.value = false clearData() fullscreenLoading.value = null @@ -327,7 +328,6 @@ function handleBeforeClose(done: () => void) { } function clearData() { - time.value = undefined chartLimit.value = 1000 chartOffset.value = 0 chartAllTotal.value = 0 diff --git a/src/views/stationData/transfer/components/deviceDrawer.vue b/src/views/stationData/transfer/components/deviceDrawer.vue index d6cee62..8e035d7 100644 --- a/src/views/stationData/transfer/components/deviceDrawer.vue +++ b/src/views/stationData/transfer/components/deviceDrawer.vue @@ -287,6 +287,7 @@ function setChartData(pointData: any[]) { } function handleBeforeClose(done: () => void) { + time.value = undefined isShowDrawer.value = false clearData() fullscreenLoading.value = null @@ -294,7 +295,6 @@ function handleBeforeClose(done: () => void) { } function clearData() { - time.value = undefined chartLimit.value = 1000 chartOffset.value = 0 chartAllTotal.value = 0