This commit is contained in:
BOE\10867418
2023-08-17 15:34:19 +08:00
parent f74909bc6c
commit 647ae66498

View File

@@ -177,7 +177,7 @@ export default {
roleList: store.state.userInfo.roleList, roleList: store.state.userInfo.roleList,
userId: store.state.userInfo.userId userId: store.state.userInfo.userId
} }
const res = await api.userGetUserOrg({params}); const res = await api.userGetUserOrg(params);
if (res) { if (res) {
state.option = res.data?.result; state.option = res.data?.result;
state.orgId = state.option[0]?.organizationId; state.orgId = state.option[0]?.organizationId;