Commit cc1b692b authored by 智勇's avatar 智勇

nickname

parent 80bdb7cb
......@@ -48,7 +48,7 @@ const user = {
} else {
reject('getInfo: roles must be a non-null array !')
}
commit('SET_NAME', data.userInfo.userId)
commit('SET_NAME', data.userInfo.nickname)
resolve(response)
}).catch(error => {
reject(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment