Merge branch 'main' into board-ji

This commit is contained in:
dyhj625 2025-03-25 15:04:47 +09:00
commit 86a5a75e9b
5 changed files with 14 additions and 5 deletions

View File

@ -24,6 +24,7 @@
class="form-control" class="form-control"
:value="password" :value="password"
autocomplete="new-password" autocomplete="new-password"
maxlength="4"
placeholder="비밀번호 입력" placeholder="비밀번호 입력"
@input="filterInput" @input="filterInput"
/> />
@ -42,7 +43,7 @@
</template> </template>
<template v-else> <template v-else>
<p class="m-0">{{ comment.content }}</p> <div class="m-0" style="white-space: pre-wrap">{{ comment.content }}</div>
</template> </template>
</div> </div>
<!-- <p>현재 isDeleted : {{ isDeleted }}</p> --> <!-- <p>현재 isDeleted : {{ isDeleted }}</p> -->

View File

@ -57,7 +57,11 @@
autocomplete="new-password" autocomplete="new-password"
v-model="password" v-model="password"
placeholder="비밀번호" placeholder="비밀번호"
@input="clearAlert('password')" maxlength="4"
@input="
password = password.replace(/\s/g, '');
clearAlert('password');
"
/> />
<!-- 비밀번호 경고 메시지 --> <!-- 비밀번호 경고 메시지 -->
<div v-if="passwordAlert2" class="position-absolute text-danger small top-100 start-0"> <div v-if="passwordAlert2" class="position-absolute text-danger small top-100 start-0">
@ -145,6 +149,7 @@
if (!$common.isNotEmpty(password.value)) { if (!$common.isNotEmpty(password.value)) {
passwordAlert2.value = '비밀번호를 입력해주세요.'; passwordAlert2.value = '비밀번호를 입력해주세요.';
password.value = '';
isValid = false; isValid = false;
} else { } else {
passwordAlert2.value = ''; passwordAlert2.value = '';

View File

@ -166,7 +166,8 @@
// //
const goList = () => { const goList = () => {
accessStore.$reset(); accessStore.$reset();
router.push('/board'); //router.push('/board');
router.back();
}; };
// //

View File

@ -562,6 +562,7 @@
if (comment.isEditTextarea) { if (comment.isEditTextarea) {
comment.isEditTextarea = false; comment.isEditTextarea = false;
comment.isCommentPassword = true; comment.isCommentPassword = true;
toggleCommentPassword(comment, 'delete');
} else { } else {
toggleCommentPassword(comment, 'delete'); toggleCommentPassword(comment, 'delete');
} }

View File

@ -31,6 +31,7 @@
<!-- 단어 목록 --> <!-- 단어 목록 -->
<ul v-if="total > 0" class="ms-3 list-unstyled"> <ul v-if="total > 0" class="ms-3 list-unstyled">
<DictCard <DictCard
class="DictCard"
v-for="item in wordList" v-for="item in wordList"
:key="item.WRDDICSEQ" :key="item.WRDDICSEQ"
:item="item" :item="item"