mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
fix : PersonalFM can not found next track (#1217)
* fix : PersonalFM can not found next track * do not call _loadPersonalFMNextTrack() when reload personal FM * fix: revert * fix: separate playNextTrack * fix: moveToFMTrash * fix * fix: shortcut and _loadPersonalFMNextTrack() * show toast when personal timeout * fix: name
This commit is contained in:
parent
c7c6583523
commit
3ea5446fcc
5 changed files with 117 additions and 31 deletions
|
|
@ -87,9 +87,7 @@
|
|||
>
|
||||
<svg-icon :icon-class="player.playing ? 'pause' : 'play'"
|
||||
/></button-icon>
|
||||
<button-icon
|
||||
:title="$t('player.next')"
|
||||
@click.native="player.playNextTrack"
|
||||
<button-icon :title="$t('player.next')" @click.native="playNextTrack"
|
||||
><svg-icon icon-class="next"
|
||||
/></button-icon>
|
||||
</div>
|
||||
|
|
@ -209,6 +207,13 @@ export default {
|
|||
methods: {
|
||||
...mapMutations(['toggleLyrics']),
|
||||
...mapActions(['showToast', 'likeATrack']),
|
||||
playNextTrack() {
|
||||
if (this.player.isPersonalFM) {
|
||||
this.player.playNextFMTrack();
|
||||
} else {
|
||||
this.player.playNextTrack();
|
||||
}
|
||||
},
|
||||
goToNextTracksPage() {
|
||||
if (this.player.isPersonalFM) return;
|
||||
this.$route.name === 'next'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue