vuex用户名取值修正

master
RuoYi 5 years ago
parent aa23ef1e99
commit a34edef603
  1. 2
      ruoyi-ui/src/store/modules/user.js

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

Loading…
Cancel
Save