提交调整优化

This commit is contained in:
daihh
2023-01-12 12:36:59 +08:00
parent 50079559e2
commit 90068fb851
7 changed files with 154 additions and 211 deletions

View File

@@ -235,6 +235,10 @@ export default {
);
},
beforeRouteLeave(to, from, next){
to.meta.keepAlive=true;
next();
},
beforeDestroy(){
window.removeEventListener("scroll",this.handleScroll);
clearInterval(this.setTimeCase);