From 8c89de17312f63d37c69ecabe6fc122bb8f49784 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Tue, 18 Mar 2025 12:34:16 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EB=B9=84?= =?UTF-8?q?=EB=B0=80=EB=B2=88=ED=98=B8=20=EC=9E=85=EB=A0=A5=EB=9E=80=20?= =?UTF-8?q?=EB=85=B8=EC=B6=9C=20=EB=A1=9C=EC=A7=81=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardView.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index d630a0d..22aaffa 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -583,14 +583,17 @@ lastCommentClickedButton.value = button; }; + // 게시글 비밀번호 토글 const togglePassword = button => { // close: 게시글 비밀번호 란을 초기화 한다. + boardPasswordAlert.value = ''; if (button === 'close') { isPassword.value = false; boardPasswordAlert.value = ''; + password.value = ''; return; } - + closeAllPasswordAreas(); if (lastClickedButton.value === button) { isPassword.value = !isPassword.value; boardPasswordAlert.value = '';