From 52a98ae9b5271f1f39a341cf67f927f6b49c8a1b Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 31 Jul 2025 09:17:24 +0800 Subject: [PATCH] fix: remove unused chatLog variable from ChatHistoryDrawer.vue --- ui/src/views/chat/embed/component/ChatHistoryDrawer.vue | 2 +- ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue b/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue index 180d21da8..1d5145944 100644 --- a/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue +++ b/ui/src/views/chat/embed/component/ChatHistoryDrawer.vue @@ -111,7 +111,7 @@ const props = defineProps<{ const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat']) -const { chatUser, chatLog } = useStore() +const { chatUser } = useStore() const clearChat = () => { emit('clearChat') diff --git a/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue b/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue index 466167e5c..a1d640812 100644 --- a/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue +++ b/ui/src/views/chat/mobile/component/ChatHistoryDrawer.vue @@ -54,7 +54,7 @@ const props = defineProps<{ const emit = defineEmits(['newChat', 'clickLog', 'deleteLog', 'refreshFieldTitle', 'clearChat']) -const { chatUser, chatLog } = useStore() +const { chatUser } = useStore() const clearChat = () => { emit('clearChat')