修复歌曲封面无法嵌入的Bug

pull/389/head
lyswhut 2020-09-28 22:52:50 +08:00
parent 66f17cf05b
commit d0ec90130c
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ const saveMeta = (downloadInfo, filePath, isEmbedPic, isEmbedLyric) => {
})
: Promise.resolve(),
]
Promise.all(tasks).then(([imgUrl, lyrics]) => {
Promise.all(tasks).then(([imgUrl, lyrics = {}]) => {
setMeta(filePath, {
title: downloadInfo.musicInfo.name,
artist: downloadInfo.musicInfo.singer,