feat: 添加下载列表显示功能 可播放已经下载的歌曲 添加清除缓存功能 修复下载文件类型问题

This commit is contained in:
alger
2025-01-12 16:04:03 +08:00
parent b749854c5e
commit e70fed37da
15 changed files with 1214 additions and 103 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export const getMusicUrl = async (id: number) => {
});
if (res.data.data.url) {
return { data: { data: [{ url: res.data.data.url }] } };
return { data: { data: [{ ...res.data.data }] } };
}
return await request.get('/song/url/v1', {