中心调研登录问题解决
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-12-31 18:02:59 +08:00
parent a8fe3d6073
commit 8799431f7a
1 changed files with 3 additions and 1 deletions

View File

@ -251,7 +251,9 @@ const actions = {
getUserInfo({ commit, state }) {
return new Promise((resolve, reject) => {
getUser().then(res => {
commit('SET_ROLES', res.Result.AccountList)
if (res.Result) {
commit('SET_ROLES', res.Result.AccountList)
}
resolve(res.Result)
}).catch(err => {
reject(err)