From 98d5aef4bbe5f9846a77435cfefaa2f9f250123a Mon Sep 17 00:00:00 2001 From: STDquantum <405720329@qq.com> Date: Sun, 14 Jan 2024 19:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=80=E5=90=8E=E4=B8=80?= =?UTF-8?q?=E9=A1=B5=E6=BB=91=E5=88=B0=E5=BA=95=E7=82=B9=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E9=A1=B5=E4=B8=8D=E6=B8=85=E7=A9=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/resources/data/template.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/resources/data/template.html b/app/resources/data/template.html index 1d13404..932da6c 100644 --- a/app/resources/data/template.html +++ b/app/resources/data/template.html @@ -1021,10 +1021,11 @@ input { function prevPage() { if (currentPage > 1) { currentPage--; + reachedBottom = false; renderPage(currentPage); } } - + function nextPage() { const totalPages = Math.ceil(chatMessages.length / itemsPerPage); if (currentPage < totalPages) {