[功能] 调整访问日志分页大小为20,并更新相关组件以支持动态分页

This commit is contained in:
ryan
2026-03-18 09:52:39 +08:00
parent 70da7c772c
commit 2e875f583b
6 changed files with 87 additions and 7 deletions
@@ -2,7 +2,7 @@ import { apiRequest } from '@/lib/api/client';
import type { AccessLogList } from '@/features/access-logs/types';
export function getAccessLogs(page: number, nodeId?: string, pageSize = 50) {
export function getAccessLogs(page: number, nodeId?: string, pageSize = 20) {
const normalizedNodeId = nodeId?.trim();
const searchParams = new URLSearchParams({
p: String(Math.max(page, 0)),