feat: 登录问题修复

This commit is contained in:
alger
2024-05-22 15:14:26 +08:00
parent 32b39c7927
commit 449a6fd335
5 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ const state: State = {
isPlay: false,
playMusic: {} as SongResult,
playMusicUrl: '',
user: null,
user: localStorage.getItem('user') ? JSON.parse(localStorage.getItem('user') as string) : null,
playList: [],
playListIndex: 0,
setData: null,