修改 路劲拦截

This commit is contained in:
GGJ
2024-03-18 09:40:23 +08:00
parent 58937f0b87
commit 5a5d2b320d

View File

@@ -17,7 +17,7 @@ router.beforeEach((to, from, next) => {
loading.show()
window.existLoading = true
}
if (to.path == '/login' || to.path == '/404') {
if (to.path == '/login' || to.path == '/404'|| to.path == '/policy'|| to.path == '/agreement') {
// 登录或者注册才可以往下进行
next()
} else {