修复mg歌词在某些情况下获取失败的问题(#1783)

pull/1784/head
lyswhut 2024-02-14 10:52:03 +08:00
parent 2e196656ba
commit 806925333f
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
### 修复
- 修复某些情况下歌曲加载时间过长时不会自动跳到下一首的问题
- 修复mg歌词在某些情况下获取失败的问题#1783
### 其他

View File

@ -73,7 +73,7 @@ const mrcTools = {
if (!url) return Promise.resolve('')
return this.getText(url)
},
getMusicInfo(songInfo) {
async getMusicInfo(songInfo) {
return songInfo.mrcUrl == null
? getMusicInfo(songInfo.copyrightId)
: songInfo