mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 02:07:29 +08:00
✨ feat: 歌单列表相添加布局切换、播放全部、收藏、添加到播放列表
This commit is contained in:
@@ -535,7 +535,9 @@ export const usePlayerStore = defineStore('player', () => {
|
||||
// 记录到本地存储,保持一致性
|
||||
localStorage.setItem('currentPlayMusic', JSON.stringify(playMusic.value));
|
||||
localStorage.setItem('currentPlayMusicUrl', playMusicUrl.value);
|
||||
|
||||
if (success) {
|
||||
isPlay.value = true;
|
||||
}
|
||||
return success;
|
||||
} catch (error) {
|
||||
console.error('设置播放失败:', error);
|
||||
|
||||
Reference in New Issue
Block a user