南京二号线综合演练循环调用调整

This commit is contained in:
fan 2022-12-15 17:42:33 +08:00
parent 2d92bfb4d4
commit 750e0c8a7c
2 changed files with 8 additions and 3 deletions

View File

@ -23,8 +23,8 @@ export function handlerUrl(data) {
let BASE_SITE;
if (process.env.NODE_ENV === 'development') {
// const data = null;
BASE_API = 'https://joylink.club/jlcloud';
// BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'https://joylink.club/jlcloud';
BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.3.233/rtss-server';
// BASE_API = 'http://114.116.51.125/jlcloud';
// BASE_API = 'http://192.168.3.90:9000'; // 周寅

View File

@ -235,7 +235,12 @@ export default {
'$store.state.map.mapDataLoadedCount':function(val) {
const roleList = ['STATION_SUPERVISOR', 'STATION_ASSISTANT'];
if (roleList.includes(this.$store.state.training.roles)) {
this.stationRoleShow(this.showStation);
const list = [];
const mapDevice = this.$store.state.map.mapDevice;
for (const key in mapDevice) {
list.push(mapDevice[key]);
}
this.$jlmap.updateShowMode(list, '02');
}
},
'$store.state.map.mapViewLoadedCount': function () { //