作者 RuoYi

vuex用户名取值修正

@@ -58,7 +58,7 @@ const user = { @@ -58,7 +58,7 @@ const user = {
58 } else { 58 } else {
59 commit('SET_ROLES', ['ROLE_DEFAULT']) 59 commit('SET_ROLES', ['ROLE_DEFAULT'])
60 } 60 }
61 - commit('SET_NAME', user.username) 61 + commit('SET_NAME', user.userName)
62 commit('SET_AVATAR', avatar) 62 commit('SET_AVATAR', avatar)
63 resolve(res) 63 resolve(res)
64 }).catch(error => { 64 }).catch(error => {