소스 검색

fix multiple competence registration

tripeur 4 년 전
부모
커밋
4e0afab16f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Questionaire.vue

+ 1 - 1
src/components/Questionaire.vue

@@ -192,7 +192,7 @@ export default defineComponent({
         phone: this.phone,
         email: this.email,
         comment: this.comment,
-        competenceIdList: this.competenceIdList,
+        competenceIdList: Array.from(new Set(this.competenceIdList)),
       };
       fetch(`${API_URL}api/inscription/${this.uuid}`, {
         method: "PUT",