diff --git a/src/router/index.ts b/src/router/index.ts index db01a43..63169ee 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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 {