修改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

@@ -664,7 +664,7 @@ export default {
// this.chartMsg.xData.push(ele.titleValue.replace(/[^\d]/g, " "))
this.otherProps.push({
label: ele.titleValue,
filter: (val) => (val || val === 0 ? val : "-"),
filter: (val) => (val || val === 0 ? parseFloat(val.toFixed(2)) : "-"),
prop: 'value' + i
})
})