From be18358b9c66186b3f1e49a9378c9e6fbf8d4d3c Mon Sep 17 00:00:00 2001 From: lb Date: Thu, 24 Nov 2022 15:19:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=87=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EquipmentManager/equipmentMonitoring/currentState.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/EquipmentManager/equipmentMonitoring/currentState.vue b/src/views/EquipmentManager/equipmentMonitoring/currentState.vue index 1f8ec69..1ca4c44 100644 --- a/src/views/EquipmentManager/equipmentMonitoring/currentState.vue +++ b/src/views/EquipmentManager/equipmentMonitoring/currentState.vue @@ -185,7 +185,10 @@ export default { list({ ...this.listQuery, pdlId, name }).then(response => { if (response.data.records) { - this.dataList = response.data.records + // this.dataList = response.data.records + // 11-mes 修改模拟数据 + this.dataList = response.data.records.map(item => ({...item, error: '无故障'})) + } else { this.dataList.splice(0) }