修复音乐播放器无法获取歌曲名
This commit is contained in:
parent
05eb444ccf
commit
82a6877681
@ -124,8 +124,8 @@ onMounted(() => {
|
|||||||
// 生成歌单
|
// 生成歌单
|
||||||
res.forEach((v) => {
|
res.forEach((v) => {
|
||||||
playList.value.push({
|
playList.value.push({
|
||||||
title: v.name,
|
title: v.name || v.title,
|
||||||
artist: v.artist,
|
artist: v.artist || v.author,
|
||||||
src: v.url,
|
src: v.url,
|
||||||
pic: v.pic,
|
pic: v.pic,
|
||||||
lrc: v.lrc,
|
lrc: v.lrc,
|
||||||
|
Loading…
Reference in New Issue
Block a user