diff --git a/src/views/login/login.tsx b/src/views/login/login.tsx
index fef6e32..d3414ec 100644
--- a/src/views/login/login.tsx
+++ b/src/views/login/login.tsx
@@ -48,7 +48,7 @@
             if (userInfo == null || (userInfo as any).error) {
                 throw new Error('获取用户信息失败');
             }
-            dispatch({ type: "user/getUserInfo", payload: userInfo });
+            dispatch({ type: "user/getUserInfo", payload: userInfo.userInfo });
             nav('/');
         } catch (error) {
             showErrorMessage('登录失败，请检查您的用户名和密码');
