diff --git a/Merge/front/src/components/HomeFeed.jsx b/Merge/front/src/components/HomeFeed.jsx
index b959fd9..1b9035b 100644
--- a/Merge/front/src/components/HomeFeed.jsx
+++ b/Merge/front/src/components/HomeFeed.jsx
@@ -218,7 +218,7 @@
       await fetchDeepRecommend()
     }
     setLoading(false)
-  }, [recMode, fetchTagRecommend, fetchCFRecommend, fetchDeepRecommend])
+  }, [recMode, recCFNum]) // 移除函数依赖，只保留基本值依赖
 
   // 拉取所有涉及用户的昵称
   const fetchUserNames = async (userIds) => {
@@ -285,13 +285,14 @@
     } else {
       loadPosts()
     }
-  }, [useSearchRecommend, fetchUserTagsAndRecommend])
+  }, [useSearchRecommend]) // 只依赖 useSearchRecommend
+
+  // 单独处理推荐模式变化
   useEffect(() => {
     if (useSearchRecommend) {
       fetchUserTagsAndRecommend()
     }
-    // eslint-disable-next-line
-  }, [recMode, fetchUserTagsAndRecommend])
+  }, [recMode, recCFNum, useSearchRecommend]) // 添加 recCFNum 依赖
 
   // 根据模式选择不同的加载方式
   const handleSearch = e => {
