mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-09-06 21:28:21 +00:00
vuex用户名取值修正
This commit is contained in:
@@ -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 => {
|
||||
|
Reference in New Issue
Block a user