익명일때 익명 체크박스

This commit is contained in:
kimdaae328 2025-02-20 15:20:07 +09:00
parent f7617e11a6
commit 4440946c74
2 changed files with 5 additions and 6 deletions

View File

@ -74,7 +74,7 @@ const props = defineProps({
const comment = ref('');
const password = ref('');
const isCheck = ref(false);
const isCheck = ref(props.unknown);
const emit = defineEmits(['submitComment']);

View File

@ -264,13 +264,12 @@ const fetchComments = async (page = 1) => {
}
});
// const replyResponse = await axios.get(`board/${currentBoardId.value}/reply`, {
// params: { LOCBRDSEQ: currentBoardId.value }
// });
const replyResponse = await axios.get(`board/${currentBoardId.value}/reply`, {
params: { LOCBRDSEQ: currentBoardId.value }
});
// console.log(":", response.data);
// console.log(":", replyResponse.data);
console.log("대댓글:", replyResponse.data);
comments.value = response.data.data.list.map(comment => ({
commentId: comment.LOCCMTSEQ, // ID