From 57bfb6f4a05861f3697e2b4f6ad86e840b749386 Mon Sep 17 00:00:00 2001 From: clay <20932067@zju.edu.cn> Date: Mon, 29 Apr 2024 10:20:58 +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/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index b653863..8fb8ce1 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -42,7 +42,7 @@ serveice.interceptors.response.use(response=>{ closeOnClickModal: false }).then(()=>{ removeToken() - window.location = '/cas/login' + window.location = '/api/auth/cas/login' }) return Promise.reject('会话已过期,请重新登录') case 402: