From 557a57c627dbaf97ec343de7933168f78187a489 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期二, 11 二月 2025 18:53:34 +0800 Subject: [PATCH] 意图分析都在第一个,流问题bug --- src/components/chat/hooks/useScroll.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/components/chat/hooks/useScroll.ts b/src/components/chat/hooks/useScroll.ts index 55138ad..c7f78b1 100644 --- a/src/components/chat/hooks/useScroll.ts +++ b/src/components/chat/hooks/useScroll.ts @@ -36,7 +36,7 @@ }); onUnmounted(() => { - chatListDom.value.removeEventListener('scrollend', checkIsBottom); + chatListDom.value?.removeEventListener('scrollend', checkIsBottom); }); // emitter.on('amis.page.ready', debounceAmisScroll); -- Gitblit v1.9.3