摘要: router.beforeEach((to, from, next) => { // ... }) 在路由守卫中,只有next()是放行,其他的诸如:next('/logon') 、 next(to) 或者 next({ ...to, replace: true })都不是放行,而是:中断当前导航, 阅读全文
posted @ 2021-12-08 14:02 青幽草 阅读(7280) 评论(1) 推荐(0) 编辑