fix: 修复配置管理页面多个DOM元素ID不匹配和缺失函数问题
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
@@ -222,3 +222,12 @@ async function loadHistoryWithDate(page, startDate, endDate) {
|
||||
// 初始化
|
||||
loadConfigs();
|
||||
loadFields();
|
||||
|
||||
// 全选/取消全选历史记录
|
||||
function toggleSelectAllHistory() {
|
||||
const selectAllCheckbox = document.getElementById('select-all-history');
|
||||
const checkboxes = document.querySelectorAll('#history-list input[type="checkbox"]');
|
||||
checkboxes.forEach(cb => {
|
||||
cb.checked = selectAllCheckbox.checked;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user