diff --git a/src/components/board/BoardComment.vue b/src/components/board/BoardComment.vue
index fa13318..200704f 100644
--- a/src/components/board/BoardComment.vue
+++ b/src/components/board/BoardComment.vue
@@ -38,7 +38,7 @@
{{ editCommentAlert }}
-
+
@@ -142,6 +142,8 @@
};
const localEditedContent = ref(props.comment.content);
+ const isModifyContent = ref(props.comment.content);
+ const disabled = ref(false);
// 댓글 입력 창 토글
const isComment = ref(false);
@@ -182,6 +184,11 @@
watch(
() => localEditedContent.value,
newVal => {
+ if (JSON.stringify(isModifyContent.value) == JSON.stringify(newVal)) {
+ disabled.value = false;
+ return;
+ }
+ disabled.value = true;
emit('inputDetector');
},
);
diff --git a/src/components/button/SaveBtn.vue b/src/components/button/SaveBtn.vue
index 7c8068a..51fcd48 100644
--- a/src/components/button/SaveBtn.vue
+++ b/src/components/button/SaveBtn.vue
@@ -1,23 +1,18 @@
-