支持时间选择器

This commit is contained in:
xianyi
2026-01-14 14:19:05 +08:00
parent 7bdbdbaa18
commit 98717b0716
2 changed files with 24 additions and 4 deletions

View File

@@ -134,8 +134,7 @@ export default function HomeScreen() {
const loadMatches = async (sportId: number) => {
setLoading(true);
try {
// Pass selectedDate if API supported it
const list = await fetchTodayMatches(sportId);
const list = await fetchTodayMatches(sportId, selectedDate);
setMatches(list);
} catch (e) {
console.error(e);