diff --git a/src/views/OperationalOverview/components/pileBarChart.vue b/src/views/OperationalOverview/components/pileBarChart.vue index 42f0c936..eb5a2066 100644 --- a/src/views/OperationalOverview/components/pileBarChart.vue +++ b/src/views/OperationalOverview/components/pileBarChart.vue @@ -1,7 +1,7 @@ @@ -138,7 +138,7 @@ export default { // }, color:colors[sid], data: rawData.length != 0 ? rawData[sid].map((d, did) => - totalData[did] <= 0 ? 0 : d / totalData[did] + totalData[did] <= 0 ? 0 : (d / totalData[did]).toFixed(4) ) : [] }; });