新建组织后,需要刷新才能看到组织信息修复

This commit is contained in:
付民康
2025-03-20 17:44:54 +08:00
parent c8fc165433
commit c851542fde

View File

@@ -218,11 +218,11 @@ async function queryUserInfo() {
if (res.data?.data?.code === 200) {
userInfo.value = res.data?.data.data;
}
if (userInfo.value.groupId) {
if (res.data?.data.data.groupId) {
organizationInfo.value = {
groupId: userInfo.value.groupId,
organizationName: userInfo.value.groupName as string,
organizationProfile: userInfo.value.groupDesc as string,
groupId: res.data?.data.data.groupId,
organizationName: res.data?.data.data.groupName as string,
organizationProfile: res.data?.data.data.groupDesc as string,
};
getMemberList();
} else {