fix+integrate: 5 新组件接入 Dashboard/Logs 页面
Dashboard: - 数据概览用 InsightGrid + InsightCard 展示预测/比赛/统计指标 - 数据源/已入库联赛卡片改用自定义布局(去除旧 Card 依赖) - 加载态用 LoaderGrid Logs: - 日志列表改用 FilterTable(列排序 + 级别/关键字筛选) - 加载态用 LoaderGrid row 模式 - 级别/Badge 筛选保留原有交互 FilterTable 泛型约束放宽为 Record<string, any>(兼容 interface)。
This commit is contained in:
@@ -24,7 +24,7 @@ export interface FilterColumn<T> {
|
||||
|
||||
type SortDir = 'asc' | 'desc' | null
|
||||
|
||||
export function FilterTable<T extends Record<string, unknown>>({
|
||||
export function FilterTable<T extends Record<string, any>>({
|
||||
columns,
|
||||
data,
|
||||
rowKey,
|
||||
|
||||
Reference in New Issue
Block a user