diff --git a/src/components/selfStatus/selfStatus.tsx b/src/components/selfStatus/selfStatus.tsx
index 0fd0636..24028ad 100644
--- a/src/components/selfStatus/selfStatus.tsx
+++ b/src/components/selfStatus/selfStatus.tsx
@@ -23,14 +23,19 @@
     const downloadPoints = useAppSelector(state => state.user.downloadPoints);
     const avatar = useAppSelector(state => state.user.avatar)  || 'https://pic.baike.soso.com/ugc/baikepic2/6664/20220301143956-1127285627_png_800_800_370852.jpg/0';
     const dispatch = useAppDispatch();
-    const { data, refresh } = useApi(() => request.get(getUserInfo), false);
-    const dataRef = useRef(data);
-    useEffect(() => {
-        refresh();
+    const { refresh } = useApi(() => request.get(getUserInfo), false);
+    const fenchData = async () => {
+        const data = await refresh();
+        console.log(data)
+
         if (data) {
-            dispatch({ type: "user/getUserInfo", payload: data });
+            dispatch({ type: "user/getUserInfo", payload: data.userInfo });
         }
-    }, [dataRef, dispatch]);
+    }
+    useEffect(() => {
+        fenchData();
+        
+    }, [ dispatch]);
 
     function handleAvatarClick(){
         nav('/homepage')
