From b37e918374028a5e52d37d2c07b87698b549475d Mon Sep 17 00:00:00 2001 From: ulleo Date: Tue, 1 Apr 2025 14:04:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=BE=E8=A1=A8):=20=E6=95=B0=E5=80=BC?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E5=86=85=EF=BC=8C=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E6=94=AF=E6=8C=81=E9=85=8D=E7=BD=AE=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E7=AE=80=E7=A7=B0=20#14335?= 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 133ce4f4c0..41ee47b71b 100644 --- a/core/core-frontend/src/views/chart/components/js/formatter.ts +++ b/core/core-frontend/src/views/chart/components/js/formatter.ts @@ -3,7 +3,7 @@ import { useI18n } from '@/hooks/web/useI18n' import { getLocale } from '@/utils/utils' const { t } = useI18n() -export const isEnLocal = getLocale() === 'en' +export const isEnLocal = !['zh', 'zh-cn', 'zh-CN', 'tw'].includes(getLocale()) export const formatterItem = { type: 'auto', // auto,value,percent