代码调整
This commit is contained in:
parent
69771dd4b3
commit
e6c29ce60b
@ -828,7 +828,7 @@ const map = {
|
|||||||
state.stationControlMap[station.code] = centrailzedList;
|
state.stationControlMap[station.code] = centrailzedList;
|
||||||
station.relStationCodeList.forEach(relStationCode => {
|
station.relStationCodeList.forEach(relStationCode => {
|
||||||
state.stationControlMap[relStationCode] = centrailzedList;
|
state.stationControlMap[relStationCode] = centrailzedList;
|
||||||
if (state.mapDevice[relStationCode].centralized) {
|
if (state.mapDevice[relStationCode].centralized && !centrailzedList.includes(relStationCode)) {
|
||||||
centrailzedList.push(relStationCode);
|
centrailzedList.push(relStationCode);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user