修改bug

This commit is contained in:
‘937886381’
2024-07-10 09:59:53 +08:00
parent 2d67ca4347
commit 4fa58b62fc
7 changed files with 19 additions and 17 deletions

View File

@@ -583,7 +583,7 @@ export default {
this.chartMsg.xData.push(ele.reportTimep)
this.otherProps.push({
label: ele.reportTimep,
filter: (val) => (val || val === 0 ? val : "-"),
filter: (val) => (val || val === 0 ? parseFloat(val.toFixed(2)) : "-"),
prop: 'value' + i
})
})