|
@@ -282,7 +282,7 @@ const save = async () => {
|
|
};
|
|
};
|
|
}),
|
|
}),
|
|
};
|
|
};
|
|
- const regionUserInfo = formData.roleConfigInfo.filter(
|
|
|
|
|
|
+ const regionUserInfo = formData.roleConfigInfo.find(
|
|
(item) => item.roleType === 'REGION_COORDINATOR'
|
|
(item) => item.roleType === 'REGION_COORDINATOR'
|
|
);
|
|
);
|
|
if (regionUserInfo) data.regionUserId = regionUserInfo[0].userIdList[0];
|
|
if (regionUserInfo) data.regionUserId = regionUserInfo[0].userIdList[0];
|