代码调整
This commit is contained in:
parent
a8e0ff947f
commit
a27d8f4c1d
@ -46,13 +46,10 @@ export default {
|
||||
},
|
||||
'$store.state.app.windowSizeCount': function() {
|
||||
this.setWindowSize();
|
||||
},
|
||||
'$store.state.map.mapViewLoadedCount':function() {
|
||||
this.$store.dispatch('map/setTrainWindowShow', false);
|
||||
}
|
||||
// '$store.state.socket.simulationReset': function (val) {
|
||||
// debugger;
|
||||
// // if (val) {
|
||||
// // this.simulationReset(val);
|
||||
// // }
|
||||
// }
|
||||
},
|
||||
async beforeDestroy() {
|
||||
await this.$store.dispatch('map/mapClear');
|
||||
@ -77,7 +74,6 @@ export default {
|
||||
this.$store.dispatch('training/over');
|
||||
this.$store.dispatch('training/setMapDefaultState');
|
||||
this.$store.dispatch('map/clearJlmapTrainView');
|
||||
this.$store.dispatch('map/setTrainWindowShow', false);
|
||||
});
|
||||
} catch (error) {
|
||||
this.$messageBox(`获取地图数据失败: ${error.message}`);
|
||||
|
Loading…
Reference in New Issue
Block a user