fix(player): fix cannot switch next track in personalFM (#536)

fix #501
This commit is contained in:
Map1en_ 2021-04-12 01:16:05 +08:00 committed by GitHub
parent f50c210725
commit 5cf0092b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,7 +342,7 @@ export default class {
}
}
_nextTrackCallback() {
if (this.repeatMode === "one") {
if (!this.isPersonalFM && this.repeatMode === "one") {
this._replaceCurrentTrack(this._currentTrack.id);
} else {
this.playNextTrack();