zhangjie 1 year ago
parent
commit
b2c4b80f0e

+ 1 - 1
src/views/resource-guard/person-guard/person-allocate/person-deploy-dialog.vue

@@ -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;