[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:
songjianet 2022-05-20 18:29:40 +08:00 committed by Jiajie Zhong
parent 713a7802a4
commit bbf621cb05
1 changed files with 7 additions and 0 deletions

View File

@ -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
},
{