mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
提交调整优化
This commit is contained in:
@@ -235,6 +235,10 @@ export default {
|
||||
);
|
||||
|
||||
},
|
||||
beforeRouteLeave(to, from, next){
|
||||
to.meta.keepAlive=true;
|
||||
next();
|
||||
},
|
||||
beforeDestroy(){
|
||||
window.removeEventListener("scroll",this.handleScroll);
|
||||
clearInterval(this.setTimeCase);
|
||||
|
||||
Reference in New Issue
Block a user