From 638f5c4de5174089f63f6316213a28ea2935cee0 Mon Sep 17 00:00:00 2001 From: kimdaae328 Date: Thu, 20 Feb 2025 19:37:01 +0900 Subject: [PATCH] . --- src/components/board/BoardComment.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue index 67c7cd5..dd2255b 100644 --- a/src/components/board/BoardComment.vue +++ b/src/components/board/BoardComment.vue @@ -213,15 +213,15 @@ const submitPassword = async () => { console.log("응답!!!!!!!!", response); // 서버 응답 전체 확인 console.log("응답 데이터:", response.data); - // if (response.data.code === 200 && response.data.data === true) { - // console.log('되는거니') + if (response.data.code === 200 && response.data.data === true) { + console.log('되는거니') // deleteComment() // // password.value = ''; // // isPassword.value = false; // // isEditTextarea.value = true; - // } else { - // passwordAlert.value = "비밀번호가 일치하지 않습니다."; - // } + } else { + passwordAlert.value = "비밀번호가 일치하지 않습니다."; + } } catch (error) { passwordAlert.value = "비밀번호 검증 중 오류가 발생했습니다."; }