From c8d46f6f99bdf0ed0adff8d333a5cb34f3eee7f8 Mon Sep 17 00:00:00 2001 From: hubian <908234780@qq.com> Date: Wed, 29 Apr 2026 16:55:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DAI=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=80=89=E6=8B=A9=E5=99=A8=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - document.querySelector('#modelsTable thead') 改为 document.querySelector('table thead') - #modelsTable 是 tbody 的 id,无法通过它找到 thead - 修复后页面正常加载模型列表 --- templates/models.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/models.html b/templates/models.html index 6660224..2cbddf3 100644 --- a/templates/models.html +++ b/templates/models.html @@ -283,7 +283,7 @@ `; - document.querySelector('#modelsTable thead').innerHTML = headerHtml; + document.querySelector('table thead').innerHTML = headerHtml; // 动态内容 const html = models.map(m => {