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