From 29ea0d5fe45a77f9a1541a16f327f65e4eaf9c2b Mon Sep 17 00:00:00 2001 From: clay <20932067@zju.edu.cn> Date: Mon, 29 Apr 2024 10:03:46 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E6=B5=8B=E8=AF=95sso=E5=8D=95?= =?UTF-8?q?=E7=82=B9=E7=99=BB=E5=BD=95=E4=B9=8B=E5=90=8E=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E5=AE=9A=E5=90=91=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index a4118d1..f1fe3af 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -189,7 +189,7 @@ router.beforeEach(async (to, form, next) => { NProgress.done() } else { sessionStorage.setItem('toView', JSON.stringify(to)) - next({path: '/login'}) + next({path: '/cas/login'}) } } else { if (to.path === '/login'|| to.path === '/cas/login') {