调整加载动画

This commit is contained in:
fan 2020-09-09 10:42:05 +08:00
parent 201252dbf9
commit 4df950f495
2 changed files with 2 additions and 1 deletions

View File

@ -109,12 +109,14 @@ export default {
this.percentage = 100;
setTimeout(() => {
this.show = false;
this.$store.dispatch('app/animationsClose');
}, 1000 / this.fps);
},
failed() {
this.status = 'exception';
setTimeout(() => {
this.show = false;
this.$store.dispatch('app/animationsClose');
}, 1000 / this.fps);
}
}

View File

@ -314,7 +314,6 @@ export default {
//
handleViewLoaded() {
this.$store.dispatch('map/mapViewLoaded');
this.$store.dispatch('app/animationsClose');
if (!this.$store.state.training.prdType) {
this.mapViewLoaded(false);
}