From a21287d6c89bfb0c3a84da112db6f8af45e9f621 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Mon, 23 Feb 2026 21:58:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E7=89=A9=E5=93=81?= =?UTF-8?q?=E6=A0=8F=E9=A1=B5=E9=9D=A2=E5=8F=AF=E4=BB=A5=E5=A4=A7=E4=BA=8E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8A=E9=99=90=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 1 + 1 file changed, 1 insertion(+) diff --git a/project/plugins.js b/project/plugins.js index 76b27d4a..0f57a735 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3373,6 +3373,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = this.allItemList = this.getItemList(); this.pageMax = Math.ceil(this.allItemList.length / this.pageCap); if (this.pageMax < 1) this.pageMax = 1; + if (this.page >= this.pageMax) this.page = this.pageMax - 1; this.currItemList = this.allItemList.slice(this.page * this.pageCap, (this.page + 1) * this.pageCap); if (this.index >= this.currItemList.length && this.currItemList.length > 0) this.setIndex(this.currItemList.length - 1); }