1
0

perf: 优化任务列表展示

This commit is contained in:
2025-09-12 16:15:05 +08:00
parent 23dba3eb06
commit 9a021ddd9d

View File

@@ -23,6 +23,7 @@ function TaskList() {
}, },
}, },
}, },
interval: 30000,
...crudCommonOptions(), ...crudCommonOptions(),
...paginationTemplate(15), ...paginationTemplate(15),
columns: [ columns: [
@@ -38,6 +39,7 @@ function TaskList() {
{ {
name: 'status', name: 'status',
label: '状态', label: '状态',
align: 'center',
width: 100, width: 100,
...remoteMappings('task_status', 'status'), ...remoteMappings('task_status', 'status'),
}, },
@@ -45,7 +47,7 @@ function TaskList() {
name: 'step', name: 'step',
label: '进度', label: '进度',
type: 'progress', type: 'progress',
showLabel: false, width: 200,
}, },
{ {
label: '耗时', label: '耗时',