diff --git a/publish/changeLog.md b/publish/changeLog.md index 7f2eb9ff..a2a88e77 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -1,6 +1,7 @@ ### 修复 - 修复某些情况下歌曲加载时间过长时不会自动跳到下一首的问题 +- 修复mg歌词在某些情况下获取失败的问题(#1783) ### 其他 diff --git a/src/renderer/utils/musicSdk/mg/lyric.js b/src/renderer/utils/musicSdk/mg/lyric.js index 7500f143..a93e62f5 100644 --- a/src/renderer/utils/musicSdk/mg/lyric.js +++ b/src/renderer/utils/musicSdk/mg/lyric.js @@ -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