竞赛 场景代码调整

This commit is contained in:
joylink_cuiweidong 2020-09-30 18:16:08 +08:00
parent 6a0fbe5dc5
commit 9885c50891
2 changed files with 3 additions and 3 deletions

View File

@ -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;
});

View File

@ -1,6 +1,6 @@
<template>
<div class="Substation">
<div class="Substation_header">{{ stationName+' 屏蔽门系统' }}</div>
<div class="Substation_header">黄山主变电所接线图</div>
<div>
<iscsSystem ref="iscsPlate" :width-canvas="width" :canvas-height="height" />
</div>