From 439749ca4e6c882be674a96a5b6efeba73467bb0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 27 Aug 2022 20:07:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=9D=83=E9=99=90=E4=BC=9A=E9=87=8D=E5=AE=9A?= =?UTF-8?q?=E5=90=91=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/web/src/init.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/client/web/src/init.tsx b/client/web/src/init.tsx index c510fc8e..43f1a3b4 100644 --- a/client/web/src/init.tsx +++ b/client/web/src/init.tsx @@ -92,7 +92,6 @@ const backToLoginPage = (() => { setErrorHook((err) => { const statusCode = _get(err, 'response.data.code'); if ( - statusCode === 403 || // forbidden statusCode === 401 // Unauthorized (jwt过期) ) { backToLoginPage();