zhangjie 1 년 전
부모
커밋
b2c4b80f0e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/resource-guard/person-guard/person-allocate/person-deploy-dialog.vue

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