refactor: 重构历史记录

This commit is contained in:
alger
2026-02-06 20:35:04 +08:00
parent b955e95edc
commit e53a035ebc
19 changed files with 469 additions and 357 deletions
+2 -1
View File
@@ -240,13 +240,14 @@ const playAlbum = async (album: any) => {
const playerCore = usePlayerCoreStore();
const playlistStore = usePlaylistStore();
const albumCover = data.album?.picUrl || album.picUrl;
const playlist = data.songs.map((s: any) => ({
id: s.id,
name: s.name,
picUrl: s.al?.picUrl || album.picUrl,
source: 'netease',
song: s,
...s,
picUrl: s.al?.picUrl || albumCover,
playLoading: false
}));