forked from github/dataease
fix(图表): 修复指标表格式化百分比类型下单位后缀不生效问题
This commit is contained in:
parent
ad38bfcf5d
commit
06c82f2d8c
@ -66,7 +66,7 @@ function transSeparatorAndSuffix(value, formatter) {
|
||||
str = numArr.join('.')
|
||||
}
|
||||
if (formatter.type === 'percent') {
|
||||
return str + '%'
|
||||
str += '%'
|
||||
} else {
|
||||
if (formatter.unit === 1000) {
|
||||
str += '千'
|
||||
|
Loading…
Reference in New Issue
Block a user