mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
优化next页面,删除无用代码
This commit is contained in:
parent
6ce6f6b167
commit
e11ad6bf46
6 changed files with 31 additions and 123 deletions
|
|
@ -174,9 +174,9 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
...mapMutations([
|
||||
"updateShuffleStatus",
|
||||
"updatePlayerList",
|
||||
"turnOnShuffleMode",
|
||||
"turnOffShuffleMode",
|
||||
"updatePlayerState",
|
||||
"updateRepeatStatus",
|
||||
"updateLikedSongs",
|
||||
|
|
@ -211,8 +211,7 @@ export default {
|
|||
},
|
||||
shuffle() {
|
||||
if (this.player.shuffle === true) {
|
||||
this.updateShuffleStatus(false);
|
||||
this.updatePlayerList(this.player.notShuffledList);
|
||||
this.turnOffShuffleMode();
|
||||
} else {
|
||||
this.turnOnShuffleMode();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue