Skip to content

Commit

Permalink
Merge pull request #78 from imsyy/dev
Browse files Browse the repository at this point in the history
修复音乐播放器无法获取歌曲名
  • Loading branch information
imsyy authored Feb 7, 2023
2 parents 1086591 + 82a6877 commit 1c1e742
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

1 comment on commit 1c1e742

@vercel
Copy link

@vercel vercel bot commented on 1c1e742 Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.