diff --git a/src/views/Chat/CharacterImageForm.vue b/src/views/Chat/CharacterImageForm.vue index 7359bcc..dbf3594 100644 --- a/src/views/Chat/CharacterImageForm.vue +++ b/src/views/Chat/CharacterImageForm.vue @@ -126,7 +126,7 @@
- 트리거를 입력하고 엔터를 누르면 추가됩니다. (20자 이내, 최소 5개, 최대 10개) + 트리거를 입력하고 엔터를 누르면 추가됩니다. (20자 이내, 최소 3개, 최대 10개)
@@ -179,7 +179,7 @@ export default { previewImage: null, triggers: [], triggerRules: [ - v => (v && v.length >= 5 && v.length <= 10) || '트리거는 최소 5개, 최대 10개까지 등록 가능합니다' + v => (v && v.length >= 3 && v.length <= 10) || '트리거는 최소 3개, 최대 10개까지 등록 가능합니다' ], imageRules: [ v => !!v || '이미지를 선택하세요' @@ -188,7 +188,7 @@ export default { }, computed: { canSubmit() { - const triggersValid = this.triggers && this.triggers.length >= 5 && this.triggers.length <= 10 + const triggersValid = this.triggers && this.triggers.length >= 3 && this.triggers.length <= 10 if (this.isEdit) return triggersValid return !!this.form.image && triggersValid } @@ -260,9 +260,9 @@ export default { }, async save() { if (this.isSubmitting) return - // 트리거 개수 검증: 최소 5개, 최대 10개 - if (!this.triggers || this.triggers.length < 5 || this.triggers.length > 10) { - this.notifyError('트리거는 최소 5개, 최대 10개여야 합니다.') + // 트리거 개수 검증: 최소 3개, 최대 10개 + if (!this.triggers || this.triggers.length < 3 || this.triggers.length > 10) { + this.notifyError('트리거는 최소 3개, 최대 10개여야 합니다.') return } this.isSubmitting = true