This commit is contained in:
sunzhenyu 2019-12-31 18:21:34 +08:00
commit 33966b5a33

View File

@ -487,9 +487,9 @@ const map = {
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.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');
},
}
}
};