1 Commits

Author SHA1 Message Date
c8d46f6f99 fix: 修复AI模型页面选择器错误导致无法加载
- document.querySelector('#modelsTable thead') 改为 document.querySelector('table thead')
- #modelsTable 是 tbody 的 id,无法通过它找到 thead
- 修复后页面正常加载模型列表
2026-04-29 16:55:18 +08:00

View File

@@ -283,7 +283,7 @@
</tr>
`;
document.querySelector('#modelsTable thead').innerHTML = headerHtml;
document.querySelector('table thead').innerHTML = headerHtml;
// 动态内容
const html = models.map(m => {