From bbf621cb059e3c0515ffc0ee8af0f3707873f47c Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Fri, 20 May 2022 18:29:40 +0800 Subject: [PATCH] [Fix][UI] Fix the problem that the failure strategy field in the time management form is multilingual. (#10169) (cherry picked from commit dc61370f302c6f2e8d70f50573818dc057ef2827) --- .../views/projects/workflow/definition/timing/use-table.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts index 5219a21af4..39f08725e3 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/timing/use-table.ts @@ -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 }, {