From 9be38589f2311018ad242b4f7b24c6a3f38f4fae Mon Sep 17 00:00:00 2001 From: 2977094657 <2977094657@qq.com> Date: Wed, 10 Jun 2026 20:46:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(chat-export):=20=E7=BB=9F=E4=B8=80=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=BC=B9=E7=AA=97=E6=95=B0=E9=87=8F=E4=B8=8E=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E7=9B=AE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/chat/ChatOverlays.vue | 9 +- frontend/composables/chat/useChatExport.js | 90 +++++++++++++++++-- frontend/composables/useApi.js | 10 +++ .../chat_export_service.py | 68 ++++++++++++++ .../routers/chat_export.py | 18 +++- tests/test_chat_export_targets.py | 36 ++++++++ 6 files changed, 222 insertions(+), 9 deletions(-) diff --git a/frontend/components/chat/ChatOverlays.vue b/frontend/components/chat/ChatOverlays.vue index b158bc6..c344ffc 100644 --- a/frontend/components/chat/ChatOverlays.vue +++ b/frontend/components/chat/ChatOverlays.vue @@ -1311,7 +1311,7 @@ :class="exportScope === 'all' ? 'bg-[#03C160] text-white border-[#03C160]' : 'bg-white border-gray-200 text-gray-700 hover:bg-gray-50'" @click="onExportBatchScopeClick('all')" > - 全部 {{ exportContactCounts.total }} + 全部 {{ exportTargetsLoading ? '...' : exportContactCounts.total }}