修改测试bug
This commit is contained in:
@@ -201,7 +201,7 @@ const setEchart = () => {
|
||||
result += `<br/>${item.marker}${item.seriesName}: ${valueText}`
|
||||
} else {
|
||||
// 对于功率数据,正常显示数值
|
||||
result += `<br/>${item.marker}${item.seriesName}: ${item.value[1]}`
|
||||
result += `<br/>${item.marker}${item.seriesName}: ${item.value[1]} ${item.value[2]}`
|
||||
}
|
||||
})
|
||||
return result
|
||||
@@ -292,7 +292,8 @@ const setEchart = () => {
|
||||
item.time,
|
||||
item.statisticalData !== null && item.statisticalData !== undefined
|
||||
? parseFloat(item.statisticalData.toFixed(2))
|
||||
: null
|
||||
: null,
|
||||
item.unit
|
||||
]
|
||||
})
|
||||
|
||||
@@ -302,7 +303,8 @@ const setEchart = () => {
|
||||
item.time,
|
||||
item.statisticalData !== null && item.statisticalData !== undefined
|
||||
? parseFloat(item.statisticalData.toFixed(2))
|
||||
: null
|
||||
: null,
|
||||
item.unit
|
||||
]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user