From 4145353928a3627a6af78475ce54f9ed74b601a1 Mon Sep 17 00:00:00 2001 From: zhaohy <1695786511@qq.com> Date: Tue, 3 Sep 2024 17:30:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue index c765681..c111a87 100644 --- a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue +++ b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue @@ -111,7 +111,7 @@ } }); }; - const getChatr = (data) => { + const getChatr = (data: any) => { if (chartInstance) { chartInstance.dispose(); } @@ -215,7 +215,7 @@ axisLabel: { show: true, // 显示 formatter: function (value: any) { - return value + ' ' + data.unit; // 在刻度值后加上单位 + return value + data.unit; // 在刻度值后加上单位 }, }, },