zhangjie 1 년 전
부모
커밋
299d8a3e4f
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

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