登录
This commit is contained in:
@@ -83,7 +83,6 @@ router.beforeEach(async(to, from, next) => {
|
||||
permissionStore.addRouters.forEach((route) => {
|
||||
router.addRoute('/', route);
|
||||
});
|
||||
|
||||
// next(to.fullPath);
|
||||
// 如果 addRoute 并未完成,路由守卫会一层一层的执行执行,直到 addRoute 完成,找到对应的路由
|
||||
next({ ...to, replace: true });
|
||||
|
||||
Reference in New Issue
Block a user