From 5a5d2b320d3e73df853a856320a1d4858ad1186f Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Mon, 18 Mar 2024 09:40:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E8=B7=AF=E5=8A=B2?= =?UTF-8?q?=E6=8B=A6=E6=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {