修改图表中小数显示

This commit is contained in:
RenCheng 2025-03-08 20:09:16 +08:00
parent 38af3e465f
commit 23643ff263

View File

@ -216,7 +216,7 @@
getTaskDataTypeAnalysis({taskId:value.id,startDate:value.startTime,endDate:value.endTime}).then((res) => {
if (res.success) {
res.result.typeName.forEach(row => {
this.totalNumberCataloguesData.push({ value: parseInt(res.result.numRowMap[row]), name: row })
this.totalNumberCataloguesData.push({ value: parseFloat(res.result.numRowMap[row]), name: row })
})
this.getcleaningVariance();
} else {