feat: 前端接口代理
This commit is contained in:
@@ -49,7 +49,6 @@ router.beforeEach(
|
||||
// // resetRouter(); // 预留
|
||||
// return next();
|
||||
// }
|
||||
console.log(`to---`,to)
|
||||
// 4、判断访问页面是否在路由白名单地址[静态路由]中,如果存在直接放行。
|
||||
if (ROUTER_WHITE_LIST.includes(to.path))
|
||||
return next();
|
||||
|
||||
Reference in New Issue
Block a user