Update API types and request handling

This commit is contained in:
wangqiao
2025-08-21 22:15:17 +08:00
parent 0de28e554a
commit b7113c4e12
3 changed files with 6 additions and 4 deletions

View File

@ -54,8 +54,8 @@
// })
// }
const { data: recommendTopList, refresh: getRecommendTop} = useAsyncData('recommendTop', async () => {
// @ts-ignore
const { data: recommendTopList, refresh: getRecommendTop} = useAsyncData('recommendTop-RecommendedColumns', async () => {
const res = await recommendTop(query)
return res.data || []
})