mdf:个人中心页面

This commit is contained in:
zhangzhiqiang
2022-12-30 09:01:36 +08:00
parent 88837d5972
commit 328b518429

View File

@@ -96,6 +96,9 @@ export const setUserInfo = (res, commit) => {
} else {
commit('SET_ROLES', res.permissions)
}
if (res.depts && res.roles.length > 0) {
commit('SET_DEPTS', res.depts)
}
commit('SET_USER', res.user)
}