methods: {
tiem(){
setTimeout(() => {
this.fullscreenLoading=false
}, 500);
},
},
watch: {
$route(){
this.fullscreenLoading=true
this.tiem()
}
}
methods: {
tiem(){
setTimeout(() => {
this.fullscreenLoading=false
}, 500);
},
},
watch: {
$route(){
this.fullscreenLoading=true
this.tiem()
}
}
本文标题:v-loding页面白屏动画变化监听路由,增加延时器的方法
本文链接:https://www.haomeiwen.com/subject/fdrdartx.html
网友评论