diff --git a/components/match-card.tsx b/components/match-card.tsx index fc65707..0bb7756 100644 --- a/components/match-card.tsx +++ b/components/match-card.tsx @@ -44,6 +44,7 @@ export function MatchCard({ if ( oddsSettings.enabled && oddsSettings.selectedBookmakers.length > 0 && + match.isLive && !match.odds ) { fetchOdds(match.sportId || 1, parseInt(match.id)) @@ -58,6 +59,8 @@ export function MatchCard({ oddsSettings.selectedBookmakers, match.id, match.odds, + match.isLive, + match.sportId, ]); // Fetch live score detail for cards and corners info @@ -82,6 +85,7 @@ export function MatchCard({ match.id, match.leagueKey, match.sportId, + match.isLive, ]); // 当外部传入的 match.fav 改变时,更新内部状态