huangxw hace 7 meses
padre
commit
f902b42995
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/authority/models/ChooseExpertCheck.vue

+ 1 - 1
src/views/authority/models/ChooseExpertCheck.vue

@@ -82,7 +82,7 @@ const submitForm = async () => {
                 personType: item.personType,
                 personCount: item.personCount,
                 isAppoint: item.isAppoint,
-                personIds: item.personInfos.map((person: any) => person.id)
+                personIds: +item.isAppoint ? item.personInfos.map((person: any) => person.id) : []
             };
         });
         emit('success', persons);