调整加载动画
This commit is contained in:
parent
201252dbf9
commit
4df950f495
@ -109,12 +109,14 @@ export default {
|
|||||||
this.percentage = 100;
|
this.percentage = 100;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.show = false;
|
this.show = false;
|
||||||
|
this.$store.dispatch('app/animationsClose');
|
||||||
}, 1000 / this.fps);
|
}, 1000 / this.fps);
|
||||||
},
|
},
|
||||||
failed() {
|
failed() {
|
||||||
this.status = 'exception';
|
this.status = 'exception';
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.show = false;
|
this.show = false;
|
||||||
|
this.$store.dispatch('app/animationsClose');
|
||||||
}, 1000 / this.fps);
|
}, 1000 / this.fps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -314,7 +314,6 @@ export default {
|
|||||||
// 地图视图加载完成
|
// 地图视图加载完成
|
||||||
handleViewLoaded() {
|
handleViewLoaded() {
|
||||||
this.$store.dispatch('map/mapViewLoaded');
|
this.$store.dispatch('map/mapViewLoaded');
|
||||||
this.$store.dispatch('app/animationsClose');
|
|
||||||
if (!this.$store.state.training.prdType) {
|
if (!this.$store.state.training.prdType) {
|
||||||
this.mapViewLoaded(false);
|
this.mapViewLoaded(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user