From 65e907b7d8e81bb8734a11065231c0b3f3d5d7b3 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Wed, 5 Aug 2026 10:07:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E9=98=88=E5=80=BC=E8=99=9A=E7=BA=BF?= =?UTF-8?q?=E8=B4=AF=E7=A9=BF=E6=95=B4=E5=9B=BE=EF=BC=88=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E4=B8=8E=20x=20=E8=BD=B4=E7=AD=89=E9=95=BF=EF=BC=89=20=20?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E5=8F=AA=E7=BB=99=E4=B8=A4=E4=B8=AA=E7=82=B9?= =?UTF-8?q?=EF=BC=8C=E8=99=9A=E7=BA=BF=E5=8F=AA=E5=87=BA=E7=8E=B0=E5=9C=A8?= =?UTF-8?q?=E6=9C=80=E5=B7=A6=E4=B8=A4=E4=B8=AA=E5=88=BB=E5=BA=A6=E4=B9=8B?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/app.js b/app/static/app.js index f5dcd99..8d9363b 100644 --- a/app/static/app.js +++ b/app/static/app.js @@ -300,7 +300,7 @@ if (threshold > 0) { datasets.push({ label: "阈值", - data: [threshold, threshold], + data: hist.map(() => threshold), // 与 x 轴等长,虚线水平贯穿整图 borderColor: thColor, borderDash: [4, 4], pointRadius: 0,