From 2a26d09ea8540a5df916927ad20c77d90c33d6fe Mon Sep 17 00:00:00 2001 From: kicer Date: Tue, 8 Sep 2026 10:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=87=92=E5=8A=A0=E8=BD=BD=E6=AF=8F=E9=A1=B5?= =?UTF-8?q?=2030=20=E6=9D=A1=E6=94=B9=E4=B8=BA=2020=20=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/public/index.html b/app/server/public/index.html index 32c9044..bab1328 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -818,7 +818,7 @@ } // ---------- 历史懒加载:开会话只拉最近 CHAT_PAGE_SIZE 条,上滑接近顶部时再逐页补更早的 ---------- - const CHAT_PAGE_SIZE = 30; // 每页非 tool 消息数 + const CHAT_PAGE_SIZE = 20; // 每页非 tool 消息数 const CHAT_TOP_TRIGGER = 100; // 距顶不足此像素时触发拉更早页 let chatLoadingMore = false; // 防重入(滚动事件高频触发) async function loadOlderMessages() {