From b74cc54a43ed80a90741243155863e54152a3ba9 Mon Sep 17 00:00:00 2001 From: cjp <3096114695@qq.com> Date: Fri, 20 Oct 2023 13:54:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=A6=E4=B9=A0=E5=BC=BA=E5=9B=BD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=80=E5=A4=A7=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../comprehensiveManage/smartPartyBuilding/leftTop.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftTop.vue b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftTop.vue index c252826..570cdd1 100644 --- a/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftTop.vue +++ b/src/views/sevenLargeScreen/comprehensiveManage/smartPartyBuilding/leftTop.vue @@ -29,7 +29,7 @@ const airTypeData = ref([18249, 17688, 16119, 13161]); const option = ref(null as any); function initOption() { - // const totalValue = airTypeData.value.reduce((acc, curr) => acc + curr, 0); + const totalValue = airTypeData.value.reduce((acc, curr) => acc + curr, 0); option.value = { grid: { left: "5%", @@ -42,7 +42,7 @@ function initOption() { xAxis: { show: false, type: "value", - max: 100 + max: totalValue }, yAxis: [ {