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

This commit is contained in:
2024-12-31 18:02:59 +08:00
parent a8fe3d6073
commit 8799431f7a
+3 -1
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)