恢复退出仿真

This commit is contained in:
fan 2020-01-03 14:57:26 +08:00
parent cb0f21a183
commit 1695bb1d21
4 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,7 @@ export default {
},
async beforeDestroy() {
await this.clearAllTimer();
await this.quit();
await this.$store.dispatch('training/reset');
await this.$store.dispatch('map/mapClear');
EventBus.$off('clearCheckLogin');

View File

@ -235,6 +235,7 @@ export default {
},
async beforeDestroy() {
await this.clearAllTimer();
await this.quit();
await this.$store.dispatch('training/reset');
await this.$store.dispatch('map/mapClear');
EventBus.$off('clearCheckLogin');

View File

@ -234,6 +234,7 @@ export default {
},
async beforeDestroy() {
await this.clearAllTimer();
await this.quit();
await this.$store.dispatch('training/reset');
await this.$store.dispatch('map/mapClear');
EventBus.$off('clearCheckLogin');

View File

@ -240,6 +240,7 @@ export default {
},
async beforeDestroy() {
await this.clearAllTimer();
await this.quit();
await this.$store.dispatch('training/reset');
await this.$store.dispatch('map/mapClear');
EventBus.$off('clearCheckLogin');