diff --git a/Merge/front/src/components/UserProfile.jsx b/Merge/front/src/components/UserProfile.jsx
index 53618db..6cddcbd 100644
--- a/Merge/front/src/components/UserProfile.jsx
+++ b/Merge/front/src/components/UserProfile.jsx
@@ -279,7 +279,6 @@
 
   const handleFollowToggle = async () => {
     if (!currentUser || !profileUser) return;
-    
     try {
       if (profileUser.is_following) {
         await unfollowUserApi(profileUser.id);
@@ -288,11 +287,18 @@
         await followUserApi(profileUser.id);
         showSnackbar('关注成功');
       }
-      
       // 更新用户信息
       const updatedUser = await getUser(userId);
       setProfileUser(updatedUser.data);
-      
+      // 关注/取关后强制刷新关注和粉丝列表，保证页面和数据库同步
+      if (activeTab === 2) {
+        const followingRes = await getUserFollowing(userId);
+        setFollowing(followingRes.data);
+      }
+      if (activeTab === 3) {
+        const followersRes = await getUserFollowers(userId);
+        setFollowers(followersRes.data.data);
+      }
     } catch (error) {
       console.error('关注操作失败:', error);
       showSnackbar('操作失败，请重试', 'error');
