From 308fa1e14f4f9e7de45776b6a383383fbcdb78bc Mon Sep 17 00:00:00 2001 From: zhaohy <1695786511@qq.com> Date: Tue, 3 Sep 2024 17:25:01 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue index 7506745..c765681 100644 --- a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue +++ b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue @@ -215,7 +215,7 @@ axisLabel: { show: true, // 显示 formatter: function (value: any) { - return value + ' V'; // 在刻度值后加上单位 + return value + ' ' + data.unit; // 在刻度值后加上单位 }, }, },