From 91b1ff7df93d430578d2a31ae4c99f5d4e2d04a0 Mon Sep 17 00:00:00 2001 From: alger Date: Thu, 22 May 2025 20:12:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E9=9F=B3=E4=B9=90=E6=97=B6URL=E6=9C=AA=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/store/modules/player.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/store/modules/player.ts b/src/renderer/store/modules/player.ts index 285424b..741999f 100644 --- a/src/renderer/store/modules/player.ts +++ b/src/renderer/store/modules/player.ts @@ -503,6 +503,7 @@ export const usePlayerStore = defineStore('player', () => { const updatedPlayMusic = await getSongDetail(originalMusic); playMusic.value = updatedPlayMusic; playMusicUrl.value = updatedPlayMusic.playMusicUrl as string; + music.playMusicUrl = updatedPlayMusic.playMusicUrl as string; // 保存到本地存储 localStorage.setItem('currentPlayMusic', JSON.stringify(playMusic.value));