修复上一曲切换问题

pull/623/head
lyswhut 2021-08-11 13:28:51 +08:00
parent e85709a341
commit 21c3b3ab57
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ const actions = {
if (state.playedList.length) {
let currentSongmid
if (state.playMusicInfo.isTempPlay) {
const musicInfo = playInfo.list[playInfo.listPlayIndex]
const musicInfo = currentList[playInfo.listPlayIndex]
if (musicInfo) currentSongmid = musicInfo.songmid || musicInfo.musicInfo.songmid
} else {
currentSongmid = state.playMusicInfo.musicInfo.songmid || state.playMusicInfo.musicInfo.musicInfo.songmid