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 @@