往期球局排序处理

This commit is contained in:
2026-02-25 16:42:14 +08:00
parent 4a553c63fc
commit 44f971b1c2

View File

@@ -82,7 +82,7 @@ const MyselfPageContent: React.FC<MyselfPageContentProps> = ({
const end_time_str = end_time.replace(/\s/, "T"); const end_time_str = end_time.replace(/\s/, "T");
new Date(end_time_str).getTime() > now new Date(end_time_str).getTime() > now
? notEndGames.push(game) ? notEndGames.push(game)
: finishedGames.push(game); : finishedGames.unshift(game);
} }
console.log("notEndGames", notEndGames); console.log("notEndGames", notEndGames);