Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
33966b5a33
@ -256,7 +256,7 @@ const map = {
|
||||
trainDetails: null, // 地图'列车详情'显示
|
||||
deleteCount: 0, // 绘图快捷删除标识
|
||||
updateCount: 0, // 绘图快捷修改标识
|
||||
mousemove: 0 // 实训战场图移动标识
|
||||
mousemove: 0 // 实训战场图移动标识
|
||||
},
|
||||
|
||||
getters: {
|
||||
@ -486,10 +486,10 @@ const map = {
|
||||
getStationControlByStationCode: (state) => (code) => {
|
||||
let device = null;
|
||||
if (code &&
|
||||
state.map &&
|
||||
state.map.stationList && state.map.stationList.length) {
|
||||
state.map.stationList.forEach(elem => {
|
||||
if (elem.code == code) {
|
||||
state.map &&
|
||||
state.map.stationControlList && state.map.stationControlList.length) {
|
||||
state.map.stationControlList.forEach(elem => {
|
||||
if (elem.stationCode == code) {
|
||||
device = state.mapDevice[elem.code];
|
||||
}
|
||||
});
|
||||
@ -604,7 +604,7 @@ const map = {
|
||||
},
|
||||
setMousemove: (state) => {
|
||||
state.mousemove++;
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
actions: {
|
||||
@ -726,7 +726,7 @@ const map = {
|
||||
|
||||
setMousemove: ({ commit }) => {
|
||||
commit('setMousemove');
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user