From 8af23b331af6c83b20bfaf750f73008c3af50f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Thu, 25 Jul 2024 12:24:57 +0800 Subject: [PATCH] fix: m --- .gitignore | 1 + src/views/screen/RealTimeUsed.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ef594b3..bfb8c5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store node_modules /scr-web +*.zip # local env files diff --git a/src/views/screen/RealTimeUsed.vue b/src/views/screen/RealTimeUsed.vue index 9e27890..d0bda64 100644 --- a/src/views/screen/RealTimeUsed.vue +++ b/src/views/screen/RealTimeUsed.vue @@ -43,7 +43,7 @@ export default { async getRealTimeData() { const res = await getRealTimeUtilization() if (res?.status !== 'success') return - const value = res.data?.result?.[0]?.value[1] * 1 || 0 + const value = res.data?.result?.[0]?.value[1] * 100 || 0 this.used = value.toFixed(2) }, getRealTimeUesdView() {