修复恢复播放会导致重复播放的问题

pull/453/head
lyswhut 2021-01-21 15:16:46 +08:00
parent 085e45a50f
commit ef36517a26
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ export default {
}, },
computed: { computed: {
...mapGetters(['setting']), ...mapGetters(['setting']),
...mapGetters('player', ['list', 'changePlay', 'playMusicInfo', 'fixPlayIndex', 'isShowPlayerDetail', 'playInfo', 'playedList']), ...mapGetters('player', ['list', 'changePlay', 'playMusicInfo', 'isShowPlayerDetail', 'playInfo', 'playedList']),
// pic() { // pic() {
// return this.musicInfo.img ? this.musicInfo.img : '' // return this.musicInfo.img ? this.musicInfo.img : ''
// }, // },
@ -870,7 +870,7 @@ export default {
this.sendProgressEvent(this.progress, 'paused') this.sendProgressEvent(this.progress, 'paused')
}) })
if (this.setting.player.togglePlayMethod == 'random') this.setPlayedList({ listId: restorePlayInfo.listId, musicInfo: musicInfo }) if (this.setting.player.togglePlayMethod == 'random') this.setPlayedList(this.playMusicInfo)
}, },
}, },
} }