fix: 修复AI模型页面选择器错误导致无法加载
- document.querySelector('#modelsTable thead') 改为 document.querySelector('table thead')
- #modelsTable 是 tbody 的 id,无法通过它找到 thead
- 修复后页面正常加载模型列表
This commit is contained in:
@@ -283,7 +283,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
document.querySelector('#modelsTable thead').innerHTML = headerHtml;
|
document.querySelector('table thead').innerHTML = headerHtml;
|
||||||
|
|
||||||
// 动态内容
|
// 动态内容
|
||||||
const html = models.map(m => {
|
const html = models.map(m => {
|
||||||
|
|||||||
Reference in New Issue
Block a user