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; // 在刻度值后加上单位 }, }, },