From d78fab2143907566dd3a4547190d336704f6dd94 Mon Sep 17 00:00:00 2001 From: khj0414 Date: Thu, 20 Mar 2025 10:16:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9A=A9=EC=96=B4=EC=A7=91=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/wordDict/DictCard.vue | 11 ++--------- src/components/wordDict/DictWrite.vue | 28 ++++++++++++++------------- src/views/wordDict/wordDict.vue | 8 +++++--- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/src/components/wordDict/DictCard.vue b/src/components/wordDict/DictCard.vue index 6b19f79..d706900 100644 --- a/src/components/wordDict/DictCard.vue +++ b/src/components/wordDict/DictCard.vue @@ -9,16 +9,9 @@ :formValue="item.WRDDICCAT" :titleValue="item.WRDDICTTL" :contentValue="item.WRDDICCON" - :isDisabled="userStore.user.role !== 'ROLE_ADMIN'" + :isDisabled="true" />
-
{{ item.category }} @@ -129,7 +122,7 @@ const editWord = (data) => { if (writeButton.value) { writeButton.value.resetButton(); } - emit('refreshWordList'); + emit('refreshWordList',data.category); } else { console.warn('⚠️ 서버 응답이 예상과 다릅니다:', res.data); toastStore.onToast('용어 수정이 정상적으로 처리되지 않았습니다.', 'e'); diff --git a/src/components/wordDict/DictWrite.vue b/src/components/wordDict/DictWrite.vue index af8dd95..f558915 100644 --- a/src/components/wordDict/DictWrite.vue +++ b/src/components/wordDict/DictWrite.vue @@ -1,6 +1,7 @@