添加网球相关数据映射和逻辑到 MatchCard 组件,优化比赛信息展示

This commit is contained in:
yuchenglong
2026-01-22 10:21:51 +08:00
parent ab071360f4
commit b36ab3b10d
4 changed files with 127 additions and 10 deletions

View File

@@ -182,6 +182,7 @@ export const fetchTodayMatches = async (options: {
{ params },
);
if (response.data.code === 0) {
// console.log("Fetched today matches:", JSON.stringify(response.data.data));
return response.data.data;
}
throw new Error(response.data.message);