1
0

feat: 优化任务执行逻辑

This commit is contained in:
2025-09-06 15:14:41 +08:00
parent 0ad9d8239c
commit 2c889462c6
5 changed files with 29 additions and 63 deletions

View File

@@ -24,32 +24,7 @@ function TaskList() {
},
},
...crudCommonOptions(),
...paginationTemplate(
15,
undefined,
[
{
type: 'action',
label: '',
icon: 'fa fa-plus',
tooltip: '添加任务',
tooltipPlacement: 'top',
onEvent: {
click: {
actions: [
{
actionType: 'custom',
// @ts-ignore
script: (context, action, event) => {
navigate('/task/add')
},
},
],
},
},
},
],
),
...paginationTemplate(15),
columns: [
{
name: 'name',