mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 16:27:23 +08:00
添加用户页面, 修改登录 添加手机号登录
This commit is contained in:
@@ -55,9 +55,13 @@ const loadHotSearchKeyword = async () => {
|
||||
hotSearchKeyword.value = data.data.showKeyword
|
||||
hotSearchValue.value = data.data.realkeyword
|
||||
}
|
||||
|
||||
store.state.user = JSON.parse(localStorage.getItem('user') || '{}')
|
||||
|
||||
const loadPage = async () => {
|
||||
const { data } = await getUserDetail()
|
||||
store.state.user = data.profile
|
||||
localStorage.setItem('user', JSON.stringify(data.profile))
|
||||
}
|
||||
|
||||
const toLogin = () => {
|
||||
|
||||
Reference in New Issue
Block a user