fix: 修复配置管理页面一直显示加载中的问题
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260713141839035.png
Normal file
BIN
assets/image_20260713141839035.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -2174,6 +2174,16 @@
|
||||
resultDiv.innerHTML = html;
|
||||
}
|
||||
|
||||
// 批量下载历史记录
|
||||
async function batchDownloadHistory() {
|
||||
const checkboxes = document.querySelectorAll('.history-checkbox:checked');
|
||||
if (checkboxes.length === 0) {
|
||||
alert('请至少选择一条记录');
|
||||
return;
|
||||
}
|
||||
|
||||
const ids = Array.from(checkboxes).map(cb => parseInt(cb.value));
|
||||
|
||||
// 逐个下载
|
||||
ids.forEach(id => {
|
||||
window.open(`/api/download?id=${id}`, '_blank');
|
||||
|
||||
Reference in New Issue
Block a user