From 9885c50891b00024b7ba8444b5c2aa9fd1436c4a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 30 Sep 2020 18:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E8=B5=9B=20=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/drts/scene/modify.vue | 4 ++-- .../iscs/iscsSystem/stationConfig/powerMonitor/substation.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/drts/scene/modify.vue b/src/views/drts/scene/modify.vue index 575da652f..666fb7a21 100644 --- a/src/views/drts/scene/modify.vue +++ b/src/views/drts/scene/modify.vue @@ -234,7 +234,7 @@ export default { } }); lastData = JSON.parse(lastData); - const lastMemberList = []; + const lastMemberList = {}; lastData.forEach((member, index)=>{ const userName = member.userName ? '-' + member.userName : ''; const name = member.name ? '-' + member.name : ''; @@ -252,7 +252,7 @@ export default { member.label = member.type + name + userName; member.normalName = member.type + name; } - lastMemberList.push(member); + lastMemberList[member.id] = member; this.memberList = lastMemberList; this.dialogVisible = true; }); diff --git a/src/views/iscs/iscsSystem/stationConfig/powerMonitor/substation.vue b/src/views/iscs/iscsSystem/stationConfig/powerMonitor/substation.vue index 39384da9f..f8c29a5b4 100644 --- a/src/views/iscs/iscsSystem/stationConfig/powerMonitor/substation.vue +++ b/src/views/iscs/iscsSystem/stationConfig/powerMonitor/substation.vue @@ -1,6 +1,6 @@