登录流程接口对接
This commit is contained in:
@@ -11,11 +11,12 @@ const router = createRouter({
|
||||
//全局路由前置守卫
|
||||
router.beforeEach((to, from, next) => {
|
||||
next();
|
||||
});
|
||||
});
|
||||
|
||||
// 全局路由后置守卫
|
||||
router.afterEach((to, from) => {
|
||||
console.log('跳转结束')
|
||||
})
|
||||
})
|
||||
|
||||
export {
|
||||
router,
|
||||
|
||||
Reference in New Issue
Block a user