From 1892990bd72ceaa3021565355c960bc1fd8d16b2 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Tue, 8 Jul 2025 20:25:14 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E6=B6=88=E6=AF=92=E7=AD=89?= =?UTF-8?q?=E7=BA=A7=E5=8F=96=E6=95=B4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit bd98c62fd2a125bf1d0283c3ab3ae283a4518dd6. --- src/views/home/chart.vue | 2 +- src/views/home/index.vue | 93 ++++++++++++++++++++---------------------------- 2 files changed, 40 insertions(+), 55 deletions(-) diff --git a/src/views/home/chart.vue b/src/views/home/chart.vue index c29351d..53e727a 100644 --- a/src/views/home/chart.vue +++ b/src/views/home/chart.vue @@ -202,7 +202,7 @@ const formatSeconds = (seconds: number) => { {{ - parseInt(homeStore.disinfectionState.nlog?.toString()) + homeStore.disinfectionState.nlog?.toFixed(2) }}Log diff --git a/src/views/home/index.vue b/src/views/home/index.vue index beba100..00a6d8f 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -90,25 +90,19 @@ const deviceType = computed(() => {