diff --git a/web/src/components/Queue.vue b/web/src/components/Queue.vue index 83356b1..ee5a9e1 100644 --- a/web/src/components/Queue.vue +++ b/web/src/components/Queue.vue @@ -3,6 +3,14 @@

播放队列

{{ botQueue.length }} 首 + @@ -70,6 +78,15 @@ async function removeSong(index: number) { // Ignore } } + +async function clearAndStop() { + try { + await store.stop(); + await store.fetchQueue(); + } catch { + // Ignore + } +}