[Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10169)
(cherry picked from commit dc61370f30)
This commit is contained in:
parent
713a7802a4
commit
bbf621cb05
|
|
@ -106,6 +106,13 @@ export function useTable() {
|
|||
{
|
||||
title: t('project.workflow.failure_strategy'),
|
||||
key: 'failureStrategy',
|
||||
render: (row: any) => {
|
||||
if (row.failureStrategy === 'CONTINUE') {
|
||||
return t('project.workflow.continue')
|
||||
} else if (row.failureStrategy === 'END') {
|
||||
return t('project.workflow.end')
|
||||
}
|
||||
},
|
||||
width: 140
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue