运行图编辑一直加载问题调整

This commit is contained in:
fan 2023-05-26 09:48:23 +08:00
parent dd4f2a2fe6
commit 2bd6088bd3
4 changed files with 5 additions and 1 deletions

View File

@ -128,6 +128,7 @@ export default {
this.loadRunPlanId = this.planId;
this.refresh();
}
this.$store.dispatch('app/animationsClose');
},
beforeDestroy() {
},

View File

@ -255,6 +255,7 @@ export default {
this.loadFilterSectionMap();
this.mapStationDirectionData = Object.values(this.$store.state.map.mapStationDirectionData);
this.loadData();
this.$store.dispatch('app/animationsClose');
},
beforeDestroy() {
this.rpMenuPopShow = false;

View File

@ -67,6 +67,9 @@ export default {
return this.$store.state.training.started;
}
},
mounted() {
this.$store.dispatch('app/animationsClose');
},
beforeDestroy() {
this.clearSubscribe();
this.$store.dispatch('training/reset');

View File

@ -177,7 +177,6 @@ export default {
if (this.$route.query.lineCode === '14') {
const terminal = this.findTerminalFromMap('baSiDi');
this.changePictureShow(terminal);
this.$store.dispatch('app/animationsClose');
} else if (this.$route.query.simType === 'RAILWAY') {
const terminal = this.findTerminalFromMap('dispatcherManage');
this.changePictureShow(terminal);