From bf231f71578fda23eb79271b49be49318d844d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 3 Apr 2024 18:13:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/components/pileBarChart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ) : [] }; }); -- 2.45.2