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