익명일때 익명 체크박스
This commit is contained in:
parent
f7617e11a6
commit
4440946c74
@ -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']);
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user