From 06c82f2d8c5acf284f53487f3029d91c90a5634e Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 4 Mar 2024 10:55:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8C=87=E6=A0=87=E8=A1=A8=E6=A0=BC=E5=BC=8F=E5=8C=96=E7=99=BE?= =?UTF-8?q?=E5=88=86=E6=AF=94=E7=B1=BB=E5=9E=8B=E4=B8=8B=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E5=90=8E=E7=BC=80=E4=B8=8D=E7=94=9F=E6=95=88=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, 1 insertion(+), 1 deletion(-) 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 d29987cc9e..da44cdfe80 100644 --- a/core/core-frontend/src/views/chart/components/js/formatter.ts +++ b/core/core-frontend/src/views/chart/components/js/formatter.ts @@ -66,7 +66,7 @@ function transSeparatorAndSuffix(value, formatter) { str = numArr.join('.') } if (formatter.type === 'percent') { - return str + '%' + str += '%' } else { if (formatter.unit === 1000) { str += '千'