vuex用户名取值修正

This commit is contained in:
RuoYi 2020-04-29 15:02:17 +08:00
parent aa23ef1e99
commit a34edef603

View File

@ -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 => {