CN-445 多曲线图分位值问题
This commit is contained in:
@@ -118,7 +118,7 @@ export function getUnitType (column) {
|
||||
|
||||
/* 单位转换,返回转换后的[value, unit],type=time时若value<1ms,返回<1ms,type=percent时若value<0.01%,返回<0.01% */
|
||||
export function valueToRangeValue (value, unitType) {
|
||||
const values = unitConvert(value, unitType)
|
||||
const values = unitConvert(Number(value), unitType)
|
||||
if (values[0] || values[0] === 0) {
|
||||
switch (unitType) {
|
||||
case unitTypes.time: {
|
||||
|
||||
Reference in New Issue
Block a user