update:测试界面不做登录校验

This commit is contained in:
zk
2024-09-03 17:39:01 +08:00
parent d166e3e2d6
commit 28cb5cbb9b
+3
View File
@@ -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 {