mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-03-31 08:19:54 +02:00
Add files via upload
This commit is contained in:
@@ -893,6 +893,11 @@ function renderBatchQueues() {
|
||||
return;
|
||||
}
|
||||
|
||||
// 确保分页控件可见(重置之前可能设置的 display: none)
|
||||
if (pagination) {
|
||||
pagination.style.display = '';
|
||||
}
|
||||
|
||||
list.innerHTML = queues.map(queue => {
|
||||
const statusMap = {
|
||||
'pending': { text: '待执行', class: 'batch-queue-status-pending' },
|
||||
@@ -973,9 +978,13 @@ function renderBatchQueuesPagination() {
|
||||
// 如果没有数据,不显示分页控件
|
||||
if (total === 0) {
|
||||
paginationContainer.innerHTML = '';
|
||||
paginationContainer.style.display = 'none';
|
||||
return;
|
||||
}
|
||||
|
||||
// 确保分页控件可见
|
||||
paginationContainer.style.display = '';
|
||||
|
||||
// 即使只有一页,也显示分页信息(总数和每页条数选择器)
|
||||
|
||||
// 计算显示的页码范围
|
||||
|
||||
Reference in New Issue
Block a user