feat(sj_preview): 工作流执行按钮新增二次确认
This commit is contained in:
parent
60bacf0d2c
commit
32379906aa
@ -185,9 +185,16 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
|
|
||||||
<n-divider vertical />
|
<n-divider vertical />
|
||||||
|
|
||||||
<NButton text type="error" ghost size="small" onClick={() => execute(row.id!)}>
|
<NPopconfirm onPositiveClick={() => execute(row.id!)}>
|
||||||
{$t('common.execute')}
|
{{
|
||||||
</NButton>
|
default: () => $t('common.confirmExecute'),
|
||||||
|
trigger: () => (
|
||||||
|
<NButton type="error" text ghost size="small">
|
||||||
|
{$t('common.execute')}
|
||||||
|
</NButton>
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</NPopconfirm>
|
||||||
|
|
||||||
<n-divider vertical />
|
<n-divider vertical />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user