摘要: 我在路由为 /path 的页面这样写 1 beforeRouteLeave (to, from, next) { 2 console.log('离开路路由') 3 if(to.fullPath '/home'){ 4 next(); 5 }else{ 6 next('/home') 7 } 这个是组 阅读全文
posted @ 2019-07-15 13:37 半条命Simon 阅读(4399) 评论(0) 推荐(1) 编辑