搜索逻辑优化,聚合逻辑优化

This commit is contained in:
mtvpls
2026-01-09 15:58:16 +08:00
parent 1c8a4f7bd2
commit 1e3df4f88e
4 changed files with 152 additions and 39 deletions
+1 -3
View File
@@ -159,9 +159,7 @@ const VideoCard = forwardRef<VideoCardHandle, VideoCardProps>(function VideoCard
const actualEpisodes = dynamicEpisodes;
const actualYear = year;
const actualQuery = query || '';
const actualSearchType = isAggregate
? (actualEpisodes && actualEpisodes === 1 ? 'movie' : 'tv')
: type;
const actualSearchType = type;
// 获取收藏状态(搜索结果页面不检查)
useEffect(() => {