update:测试界面不做登录校验
This commit is contained in:
@@ -79,6 +79,9 @@ router.beforeEach((to, from, next) => {
|
||||
}
|
||||
let flag1 = getAuthCache('flag1')?.includes('yinchuan');
|
||||
let flag2 = getAuthCache('flag2')?.includes('xian');
|
||||
if (to.path == '/yinChuanTest') {
|
||||
next();
|
||||
}
|
||||
if (flag1 && flag2) {
|
||||
next();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user