From 5b2fd20c7954a6c2b1ca51ed181ee8986f3400ec Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 3 Oct 2024 19:47:08 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BF=AE=E5=A4=8D=E7=BD=91?= =?UTF-8?q?=E9=80=9F=E5=8D=95=E4=BD=8D=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Host.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Host.vue b/src/components/Host.vue index bf7882f..af5e1a9 100644 --- a/src/components/Host.vue +++ b/src/components/Host.vue @@ -223,8 +223,7 @@ function onMountedFunc() { type: 'value', axisLabel: { formatter: function (value: number) { - console.log(value) - return formatSizeByUnit(value, null, 'b') + return formatSizeByUnit(value*8, null, 'b') } } }