代码调整
This commit is contained in:
parent
0062a6d1f6
commit
0ed2bf8193
@ -141,15 +141,16 @@ export default {
|
||||
this.memberMetroList = [];
|
||||
this.memberRailwayList = [];
|
||||
this.memberEmergencyList = [];
|
||||
memberResp.data.METRO.forEach(member => {
|
||||
const {METRO = [], RAILWAY = [], EMERGENCY = []} = memberResp.data;
|
||||
METRO.forEach(member => {
|
||||
const data = this.handleMember(member, stationResp.data);
|
||||
this.memberMetroList.push(data);
|
||||
});
|
||||
memberResp.data.RAILWAY.forEach(member => {
|
||||
RAILWAY.forEach(member => {
|
||||
const data = this.handleMember(member, stationResp.data);
|
||||
this.memberRailwayList.push(data);
|
||||
});
|
||||
memberResp.data.EMERGENCY.forEach(member => {
|
||||
EMERGENCY.forEach(member => {
|
||||
const data = this.handleMember(member, stationResp.data);
|
||||
this.memberEmergencyList.push(data);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user