From 5502afcae2676031d654ac03fd31e936724308ec Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Sat, 26 Jul 2025 22:28:23 +0800 Subject: [PATCH] style: Assistant chat list --- frontend/src/views/chat/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index 81dd036a..c8b0b9b5 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -34,6 +34,7 @@ () +const floatPopoverRef = ref() const floatPopoverVisible = ref(false) const assistantStore = useAssistantStore() const defaultFloatPopoverStyle = ref({ @@ -779,6 +781,11 @@ const assistantPrepareInit = () => { inset: '0px auto auto 0px', }) goEmpty() + onClickOutside(floatPopoverRef, () => { + if (floatPopoverVisible.value) { + floatPopoverVisible.value = false + } + }) } defineExpose({ createNewChat,