diff --git a/src/components/AlbumDetailDialog.vue b/src/components/AlbumDetailDialog.vue index 323798b..9d31334 100644 --- a/src/components/AlbumDetailDialog.vue +++ b/src/components/AlbumDetailDialog.vue @@ -114,7 +114,7 @@ const playQueue = usePlayQueueStore() function playTheAlbum(from: number = 0) { if (playQueue.queueReplaceLock) { - if (!confirm("当前操作会将你的待播列表清空、放入这张专辑所有曲目,并从新待播清单的开头播放。继续吗?")) { return } + if (!confirm("当前操作会将你的播放队列清空、放入这张专辑所有曲目,并从头播放。继续吗?")) { return } playQueue.queueReplaceLock = false } @@ -132,6 +132,17 @@ function playTheAlbum(from: number = 0) { playQueue.isBuffering = true } +function shuffle() { + playTheAlbum() + playQueue.shuffleCurrent = true + playQueue.playMode.shuffle = false + setTimeout(() => { + playQueue.playMode.shuffle = true + playQueue.isPlaying = true + playQueue.isBuffering = true + }, 100) +} +