Skip to content

Commit

Permalink
修复音乐播放器无法获取歌曲名
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Feb 7, 2023
1 parent 05eb444 commit 82a6877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Player/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ onMounted(() => {
// 生成歌单
res.forEach((v) => {
playList.value.push({
title: v.name,
artist: v.artist,
title: v.name || v.title,
artist: v.artist || v.author,
src: v.url,
pic: v.pic,
lrc: v.lrc,
Expand Down

0 comments on commit 82a6877

Please sign in to comment.