From 93317fb8b96dc8e405a93de501ede39e67060685 Mon Sep 17 00:00:00 2001 From: GPU is all you need <2778335106@qq.com> Date: Mon, 21 Mar 2022 16:20:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E6=9C=AA=E8=AE=A4=E8=AF=81=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E8=B7=AF=E7=94=B1'/user'->'/user/login'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- awardFE/src/pages/Authorized.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awardFE/src/pages/Authorized.tsx b/awardFE/src/pages/Authorized.tsx index ca94bf4..52db0fd 100644 --- a/awardFE/src/pages/Authorized.tsx +++ b/awardFE/src/pages/Authorized.tsx @@ -24,7 +24,7 @@ const AuthComponent: React.FC = ({ // 未登录态跳转到登录页面 if (!isLogin && localStorage.getItem('USER_LOGIN') != "true") { - history.push('/user/ '); + history.push('/user/login'); } return (