feat(1.5.0-beta1): 1.重试任务达到最大重试次数后可以手动执行 2.优化重试列表更多按钮的下拉框样式

This commit is contained in:
xiaochaihu 2025-03-29 19:02:26 +08:00
parent 186d8c109b
commit a462a0027b

View File

@ -175,16 +175,11 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
fixed: 'right',
render: row => {
const options = [
{
type: 'divider',
key: 'd2',
show: row.retryStatus !== 1 && row.retryStatus !== 2
},
{
label: $t('common.execute'),
key: 'execute',
type: 'render',
show: row.retryStatus !== 1 && row.retryStatus !== 2,
show: row.retryStatus !== 1,
render: () => (
<div class="flex-center">
<NPopconfirm onPositiveClick={() => handleExecute(row.groupName!, row.id! as any)}>
@ -280,8 +275,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
key: 'd2'
},
{
type: 'render',
key: 'delete',
type: 'render',
render: () => (
<div class="flex-center">
<NPopconfirm onPositiveClick={() => handleDelete(row.groupName!, row.id!)}>