摘要: 每个守卫方法接收三个参数: to: Route: 即将要进入的目标 路由对象 from: Route: 当前导航正要离开的路由 next: Function: 一定要调用该方法来 resolve 这个钩子。执行效果依赖 next 方法的调用参数 beforeRouteEnter (to, from, 阅读全文
posted @ 2019-11-12 10:23 miny_simp 阅读(299) 评论(0) 推荐(0) 编辑