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 += '千'