From a79a8bde73b244012c67f5c2c4349e4e20631411 Mon Sep 17 00:00:00 2001 From: khj0414 Date: Tue, 25 Mar 2025 15:21:12 +0900 Subject: [PATCH 01/12] =?UTF-8?q?=ED=88=AC=ED=91=9C=EC=A2=85=EB=A3=8C=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/voteboard/voteCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/voteboard/voteCard.vue b/src/components/voteboard/voteCard.vue index 4faed53..c987a79 100644 --- a/src/components/voteboard/voteCard.vue +++ b/src/components/voteboard/voteCard.vue @@ -126,7 +126,7 @@ watch(() => props.data.localVote.total_voted, () => { // 종료 체크 함수 const checkVoteCompletion = () => { - if (props.data.localVote.total_votable === props.data.localVote.total_voted && props.data.localVote.LOCVOTDDT == '') { + if (props.data.localVote.total_votable === props.data.localVote.total_voted && props.data.localVote.LOCVOTDDT == null) { emit('voteEnded', { id: props.data.localVote.LOCVOTSEQ }); } }; From 031c5f35c644ebbbf1cd0e8691c499317708f08c Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Tue, 25 Mar 2025 16:14:11 +0900 Subject: [PATCH 02/12] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=20maxlength=208=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/board/BoardComment.vue | 2 +- src/components/board/BoardCommentArea.vue | 2 +- src/views/board/BoardView.vue | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index 2a6a469..fa13318 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -24,7 +24,7 @@ class="form-control" :value="password" autocomplete="new-password" - maxlength="4" + maxlength="8" placeholder="비밀번호 입력" @input="filterInput" /> diff --git a/src/components/board/BoardCommentArea.vue b/src/components/board/BoardCommentArea.vue index 57f65ec..ed522cf 100644 --- a/src/components/board/BoardCommentArea.vue +++ b/src/components/board/BoardCommentArea.vue @@ -57,7 +57,7 @@ autocomplete="new-password" v-model="password" placeholder="비밀번호" - maxlength="4" + maxlength="8" @input=" password = password.replace(/\s/g, ''); clearAlert('password'); diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index afa527d..7b4e57e 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -30,6 +30,7 @@ autocomplete="new-password" v-model="password" placeholder="비밀번호 입력" + maxlength="8" @input=" password = password.replace(/\s/g, ''); inputCheck(); From cf52ab8a1b2bb465337bbf42b0e6d43fd9432978 Mon Sep 17 00:00:00 2001 From: yoon Date: Tue, 25 Mar 2025 17:43:24 +0900 Subject: [PATCH 03/12] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=204?= =?UTF-8?q?=EC=9E=90=EB=A6=AC=20alert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/user/RegisterForm.vue | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/components/user/RegisterForm.vue b/src/components/user/RegisterForm.vue index 655a329..aea85d2 100644 --- a/src/components/user/RegisterForm.vue +++ b/src/components/user/RegisterForm.vue @@ -38,6 +38,7 @@ @update:alert="passwordAlert = $event" :value="password" /> + {{ passwordError }} { + if (newValue.length >= 4) { + passwordErrorAlert.value = false; + passwordError.value = ''; + } + }); + // 회원가입 const handleSubmit = async () => { await checkColorDuplicate(); - idAlert.value = id.value.trim() === ''; passwordAlert.value = password.value.trim() === ''; passwordcheckAlert.value = passwordcheck.value.trim() === ''; @@ -342,6 +351,14 @@ addressAlert.value = address.value.trim() === ''; phoneAlert.value = phone.value.trim() === ''; + // 비밀번호 길이 체크 로직 추가 + if (password.value.length < 4) { + passwordErrorAlert.value = true; + passwordError.value = '비밀번호는 4자리 이상이어야 합니다.'; + } else { + passwordError.value = ''; + } + if (!/^\d+$/.test(phone.value)) { phoneAlert.value = true; } else { @@ -362,6 +379,7 @@ idAlert.value || idErrorAlert.value || passwordAlert.value || + passwordcErrorAlert.value || passwordcheckAlert.value || passwordcheckErrorAlert.value || pwhintResAlert.value || From a391d677bda8ef0c44efb27a7a2968661c60a809 Mon Sep 17 00:00:00 2001 From: yoon Date: Tue, 25 Mar 2025 17:43:46 +0900 Subject: [PATCH 04/12] =?UTF-8?q?=EC=9D=B4=EB=A6=84=20->=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EC=A0=9D=ED=8A=B8=EB=AA=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/list/ProjectCard.vue | 48 +++++++++++----------- src/components/projectlist/ProjectList.vue | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/components/list/ProjectCard.vue b/src/components/list/ProjectCard.vue index 7574d64..79f714a 100644 --- a/src/components/list/ProjectCard.vue +++ b/src/components/list/ProjectCard.vue @@ -94,7 +94,7 @@