From ae2d8875ad535d732ca0b75dda05a5ff4564e830 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Wed, 4 Jun 2025 22:14:44 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E6=A8=A1=E5=BC=8F=E4=B8=8B=E9=A2=84=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=A1=BA=E5=BA=8F=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正 getNextIndex 在随机播放模式下返回正确的原始列表索引 - 简化预加载逻辑,因为 nextIndex 已经是正确的列表索引 - 保持 Player.vue 中更新歌曲信息时的索引计算逻辑 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/components/Player.vue | 471 ++++++++++++++++++-------------- src/stores/usePlayQueueStore.ts | 43 ++- 2 files changed, 285 insertions(+), 229 deletions(-) diff --git a/src/components/Player.vue b/src/components/Player.vue index 019adf7..605fd04 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -1,13 +1,12 @@