From 703bfced45f35b764fadad9356cdc5250f70f096 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 20 Aug 2021 10:15:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9A=8F=E6=9C=BA=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=A8=A1=E5=BC=8F=E4=B8=8B=E4=BD=BF=E7=94=A8=E7=A8=8D?= =?UTF-8?q?=E5=90=8E=E6=92=AD=E6=94=BE=E5=8A=9F=E8=83=BD=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E6=AD=8C=E6=9B=B2=E5=8D=95=E6=9B=B2=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 1 + src/store/modules/player/action.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) {