From 2e6d66603ebf2cdf2fa681bb1e6b5cf482abb2ee Mon Sep 17 00:00:00 2001 From: ulleo Date: Mon, 30 Dec 2024 14:20:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E8=AE=BE=E7=BD=AE=E7=99=BE=E5=88=86=E6=AF=94?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=90=8E=E4=BC=9A=E5=B8=A6=E6=9C=89=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E6=A0=BC=E5=BC=8F=E9=85=8D=E7=BD=AE=E7=9A=84=E5=90=8E?= =?UTF-8?q?=E7=BC=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/chart/components/js/formatter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/js/formatter.ts b/core/core-frontend/src/views/chart/components/js/formatter.ts index 689d7bcefc..a297fbb86d 100644 --- a/core/core-frontend/src/views/chart/components/js/formatter.ts +++ b/core/core-frontend/src/views/chart/components/js/formatter.ts @@ -71,6 +71,8 @@ function transSeparatorAndSuffix(value, formatter) { } if (formatter.type === 'percent') { str += '%' + //百分比没有后缀,直接返回 + return str } else { if (formatter.unit === 1000) { str += '千'