From 21db84e8dc0712bcc3215a1f60339fd61328246d Mon Sep 17 00:00:00 2001 From: JianFeeeee Date: Mon, 14 Sep 2026 17:40:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(webui):=20=E6=8B=93=E6=89=91=20+N=20?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=94=B9=E7=94=A8=E8=BE=93=E5=87=BA=E5=B8=A6?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E9=94=9A=E7=82=B9=EF=BC=8C=E4=BF=AE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=B8=B2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 无输出通道的 agent 那条带上 outTop 在渲染时才确定,而提示行仍在用 循环变量 y(已累加到别的带),所以「+N 更多」会跑到隔壁带上。 改用该带自己的 outTop,并把基线从 +13 收到 +11(紧贴最后一行)。 --- internal/plugins/webui/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugins/webui/dashboard.js b/internal/plugins/webui/dashboard.js index eed9a04..54f581d 100644 --- a/internal/plugins/webui/dashboard.js +++ b/internal/plugins/webui/dashboard.js @@ -1032,7 +1032,7 @@ out.push(''); }); if (a.outputs.length > MAX_OUT) { - out.push('+' + (a.outputs.length - MAX_OUT) + " " + __("更多", "more") + ""); + out.push('+' + (a.outputs.length - MAX_OUT) + " " + __("更多", "more") + ""); } y += bandH; });