CN-464 带分位值的单值图bug和改动
This commit is contained in:
@@ -86,7 +86,9 @@ export default function unitConvert (value, unitType, sourceUnit, targetUnit, do
|
||||
case unitTypes.time: {
|
||||
return timeUnitFormatter(value, sourceUnit, targetUnit, dot)
|
||||
}
|
||||
case unitTypes.percent:
|
||||
case unitTypes.percent: {
|
||||
return [value, '%']
|
||||
}
|
||||
case unitTypes.number: {
|
||||
return numberUnitConvert(value, sourceUnit, targetUnit, dot)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user