Commit a34edef603d62624b790bb91407a92e3a0d175b4
1 parent
aa23ef1e
vuex用户名取值修正
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/store/modules/user.js
| @@ -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 => { |