From b4eb93c58b5bd7f9c079f4a1a510a342d32ecbc5 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Thu, 15 Jan 2026 16:13:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=AD=A3=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E6=97=B6=E9=80=89=E4=B8=AD=E7=9A=84=E9=81=93=E5=85=B7=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=8F=98=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/plugins.js b/project/plugins.js index 2e149b66..311f3525 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3358,6 +3358,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = if (!this.canPageUp()) return; this.page++; this.updateItemList(); + this.setIndex(Math.min(this.index, this.currItemList.length - 1)); this.drawContent(); } @@ -3366,6 +3367,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = if (!this.canPageDown()) return; this.page--; this.updateItemList(); + this.setIndex(this.index); this.drawContent(); } } @@ -4042,6 +4044,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.setFlag('showHideItem', !core.getFlag('showHideItem', false)); } } + console.log(UI); // 程序入口,在_drawToolbox 与 _drawEquipbox处调用 /** @param {'all'|'equips'} currType */