修复某些情况下所显示的歌词、封面图片与当前正在播放的歌曲不一致的问题
parent
3a5cb3f7c2
commit
56af57c682
|
@ -1,3 +1,4 @@
|
||||||
### 修复
|
### 修复
|
||||||
|
|
||||||
- 修复导入kg歌单最多只能加载100、500首歌曲的问题。注:现在可以加载1000+首歌曲的歌单,但出于未知原因会导致部分歌曲无法加载(可能是无版权导致的),目前酷狗码仍然最多只能加载500首歌
|
- 修复导入kg歌单最多只能加载100、500首歌曲的问题。注:现在可以加载1000+首歌曲的歌单,但出于未知原因会导致部分歌曲无法加载(可能是无版权导致的),目前酷狗码仍然最多只能加载500首歌
|
||||||
|
- 修复某些情况下所显示的歌词、封面图片与当前正在播放的歌曲不一致的问题
|
||||||
|
|
|
@ -634,12 +634,14 @@ export default {
|
||||||
|
|
||||||
if (!this.musicInfo.img) {
|
if (!this.musicInfo.img) {
|
||||||
this.getPic(targetSong).then(() => {
|
this.getPic(targetSong).then(() => {
|
||||||
|
if (targetSong !== this.targetSong) return
|
||||||
this.musicInfo.img = targetSong.img
|
this.musicInfo.img = targetSong.img
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setLrc(targetSong) {
|
setLrc(targetSong) {
|
||||||
this.getLrc(targetSong).then(({ lyric, tlyric, lxlyric }) => {
|
this.getLrc(targetSong).then(({ lyric, tlyric, lxlyric }) => {
|
||||||
|
if (targetSong !== this.targetSong) return
|
||||||
this.musicInfo.lrc = lyric
|
this.musicInfo.lrc = lyric
|
||||||
this.musicInfo.tlrc = tlyric
|
this.musicInfo.tlrc = tlyric
|
||||||
this.musicInfo.lxlrc = lxlyric
|
this.musicInfo.lxlrc = lxlyric
|
||||||
|
|
Loading…
Reference in New Issue