|
@@ -285,7 +285,7 @@ const save = async () => {
|
|
|
const regionUserInfo = formData.roleConfigInfo.find(
|
|
|
(item) => item.roleType === 'REGION_COORDINATOR'
|
|
|
);
|
|
|
- if (regionUserInfo) data.regionUserId = regionUserInfo[0].userIdList[0];
|
|
|
+ if (regionUserInfo) data.regionUserId = regionUserInfo.userIdList[0];
|
|
|
|
|
|
const res = await personAllocateDeployApi(data).catch(() => {});
|
|
|
if (!res) return;
|