mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: add clear queue button to next page
This commit is contained in:
parent
ba4d211ee7
commit
b05a686180
8 changed files with 72 additions and 39 deletions
|
|
@ -620,4 +620,11 @@ export default class {
|
|||
switchShuffle() {
|
||||
this.shuffle = !this.shuffle;
|
||||
}
|
||||
|
||||
clearPlayNextList() {
|
||||
this._playNextList = [];
|
||||
}
|
||||
removeTrackFromQueue(index) {
|
||||
this._playNextList.splice(index, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue