1
0

fix: 修复删除按钮高亮颜色

This commit is contained in:
2025-09-12 10:17:01 +08:00
parent edf320205d
commit 23dba3eb06
5 changed files with 13 additions and 4 deletions

View File

@@ -91,6 +91,16 @@ function TaskList() {
},
},
},
{
className: 'text-danger btn-deleted',
type: 'action',
label: '删除',
level: 'link',
actionType: 'ajax',
api: `get:${commonInfo.baseUrl}/task/remove/\${id}`,
confirmText: '确认删除任务记录<span class="text-lg font-bold mx-2">${name}</span>',
confirmTitle: '删除',
},
],
},
],