From 2d844b1d8b890543520c92777a9fcef720cfc4fb Mon Sep 17 00:00:00 2001 From: ronger Date: Sat, 24 Apr 2021 22:25:28 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=90=8E=E8=B4=A6=E6=88=B7=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/store/index.js b/store/index.js index 4b47087..72fd046 100644 --- a/store/index.js +++ b/store/index.js @@ -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)) }