fix:格式化方法调整
This commit is contained in:
@@ -504,7 +504,7 @@ export default {
|
||||
},
|
||||
formatThreshold:function(value,unit){
|
||||
let unitMethod=chartDataFormat.getUnit(unit)
|
||||
if(unitMethod&&unit.compute){
|
||||
if(unitMethod&&value){
|
||||
return unitMethod.compute(value,null,2);
|
||||
}else{
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user