修改 路劲拦截
This commit is contained in:
@@ -17,7 +17,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
loading.show()
|
loading.show()
|
||||||
window.existLoading = true
|
window.existLoading = true
|
||||||
}
|
}
|
||||||
if (to.path == '/login' || to.path == '/404') {
|
if (to.path == '/login' || to.path == '/404'|| to.path == '/policy'|| to.path == '/agreement') {
|
||||||
// 登录或者注册才可以往下进行
|
// 登录或者注册才可以往下进行
|
||||||
next()
|
next()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user