From 8a7b036bd9be2452a60e15d35305d05f2804c192 Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A7=AF=E5=88=86=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Utils.ts b/src/common/Utils.ts index e334386..5c69ca1 100644 --- a/src/common/Utils.ts +++ b/src/common/Utils.ts @@ -10,7 +10,7 @@ export const isValidShareCode = (str: string) => { export const formatNumShow = (num: number) => { if (num >= 10) { - return num.toString() + return Math.round(num) + '' } else if (num === 0) { return '0' } else {