diff --git a/publish/changeLog.md b/publish/changeLog.md index f5c9e8b..0038e22 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -13,3 +13,4 @@ ### 修复 - 修复tx源的歌词无法显示的问题 +- 修复随机播放模式下使用稍后播放功能会导致歌曲单曲循环的问题 diff --git a/src/store/modules/player/action.js b/src/store/modules/player/action.js index 5bd4c84..cfde4ff 100644 --- a/src/store/modules/player/action.js +++ b/src/store/modules/player/action.js @@ -185,7 +185,7 @@ const handlePlayMusic = async({ getState, dispatch, playMusicInfo, musicInfo, is // console.log('set url getting done') }) // console.log(AppState.currentState) - if (!isRefresh && state.common.setting.player.togglePlayMethod == 'random') dispatch({ type: TYPES.addMusicToPlayedList, payload: playMusicInfo }) + if (!isRefresh && !playMusicInfo.isTempPlay && state.common.setting.player.togglePlayMethod == 'random') dispatch({ type: TYPES.addMusicToPlayedList, payload: playMusicInfo }) // console.log(musicInfo.img) if (!musicInfo.img) {