From 3b3c3961d65d63b3a814e7f76b20b713b48a6b89 Mon Sep 17 00:00:00 2001 From: wangxi <123456> Date: Wed, 23 Mar 2022 11:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/user/Login/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/pages/user/Login/index.tsx b/web/src/pages/user/Login/index.tsx index 1aaf553..f4fd024 100644 --- a/web/src/pages/user/Login/index.tsx +++ b/web/src/pages/user/Login/index.tsx @@ -47,6 +47,7 @@ const Login: React.FC = () => { // 登录产生cookie const msg = await login({ ...values, type }); if (msg.success === true) { + console.log('dengdgdgdgdgd---------------------------------') const defaultLoginSuccessMessage = '登录成功!'; message.success(defaultLoginSuccessMessage); await fetchUserInfo(); @@ -68,6 +69,7 @@ const Login: React.FC = () => { }; const { status, type: loginType } = userLoginState; + return (