From 63114bf019ca980ac2461e1cbf11c1406688e7bd Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Fri, 10 Oct 2025 09:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=B1=E5=BA=A6=E4=B9=9D=E5=A4=A7=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=9C=89=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=97=B6=E9=BB=98=E8=AE=A4=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/HistoryRecord.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/components/HistoryRecord.vue b/src/views/components/HistoryRecord.vue index e6671e7..9e202b1 100644 --- a/src/views/components/HistoryRecord.vue +++ b/src/views/components/HistoryRecord.vue @@ -478,6 +478,7 @@ const historyRecords = ref([]); const categoryHistory = ref([]); let chatFirstFlag = true; let emotionTirstFlag = true; +let deepNineFirstFlag = true; // 添加缓存机制 let cachedCategoryHistory = null; let lastDataHash = null; @@ -525,6 +526,13 @@ const getHistoryList = async (params) => { emotionTirstFlag = false; } + if (deepNineFirstFlag && params.model == 3 && result.data.length != 0) { + if (!isMobile.value) { + chatStore.deepNineCall = true; + } + deepNineFirstFlag = false; + } + // 只在首次加载时根据chatStore状态设置折叠状态,避免搜索后自动弹出历史记录 if (isMobile.value) {