Merge branch 'master' of https://github.com/ronger-x/nebula
This commit is contained in:
commit
9baa0695d5
@ -30,7 +30,8 @@ export const mutations = {
|
||||
state.userInfo.nickname = data.nickname;
|
||||
let user = {
|
||||
nickname: data.nickname,
|
||||
avatarURL: data.avatarUrl
|
||||
avatarURL: data.avatarUrl,
|
||||
account: this.state.userInfo.account
|
||||
}
|
||||
localStorage.setItem('user', JSON.stringify(user))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user