添加网球相关数据映射和逻辑到 MatchCard 组件,优化比赛信息展示
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user