diff --git a/public/css/custom.css b/public/css/custom.css index bd9559d..743658b 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -795,4 +795,8 @@ input:checked + .slider:before { right: 20px; } -/* toast end */ \ No newline at end of file +/* toast end */ + +.cursor-none{ + cursor: none !important; +} \ No newline at end of file diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index 9147773..fa13318 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -24,6 +24,7 @@ class="form-control" :value="password" autocomplete="new-password" + maxlength="8" placeholder="비밀번호 입력" @input="filterInput" /> @@ -42,7 +43,7 @@ @@ -119,7 +120,7 @@ }); const displayName = computed(() => { - return props.nickname? props.nickname: props.comment.author; + return props.nickname ? props.nickname : props.comment.author; }); // emits 정의 diff --git a/src/components/board/BoardCommentArea.vue b/src/components/board/BoardCommentArea.vue index 84783bd..ed522cf 100644 --- a/src/components/board/BoardCommentArea.vue +++ b/src/components/board/BoardCommentArea.vue @@ -43,7 +43,7 @@ @input="clearAlert('nickname')" /> -
+
{{ nicknameAlert }}
@@ -57,7 +57,11 @@ autocomplete="new-password" v-model="password" placeholder="비밀번호" - @input="clearAlert('password')" + maxlength="8" + @input=" + password = password.replace(/\s/g, ''); + clearAlert('password'); + " />
@@ -145,6 +149,7 @@ if (!$common.isNotEmpty(password.value)) { passwordAlert2.value = '비밀번호를 입력해주세요.'; + password.value = ''; isValid = false; } else { passwordAlert2.value = ''; diff --git a/src/components/board/BoardProfile.vue b/src/components/board/BoardProfile.vue index be278f8..00a4a87 100644 --- a/src/components/board/BoardProfile.vue +++ b/src/components/board/BoardProfile.vue @@ -1,7 +1,7 @@