From 394115899685dcc45ab011c37e3b90aa258b4b4a Mon Sep 17 00:00:00 2001 From: Rick Cheng Date: Tue, 27 Jun 2023 10:29:03 +0800 Subject: [PATCH] [Improvement-14363][UI] Add Default Branch Flow in switch task (#14364) --- dolphinscheduler-ui/src/locales/en_US/project.ts | 1 + dolphinscheduler-ui/src/locales/zh_CN/project.ts | 1 + .../views/projects/task/components/node/fields/use-switch.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index 6bb98be1a133..e3b8f7628b03 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -579,6 +579,7 @@ export default { add_pre_task_check_condition: 'Add pre task check condition', switch_condition: 'Condition', switch_branch_flow: 'Branch Flow', + switch_branch_flow_default: 'Default Branch Flow', switch_branch_flow_tips: 'Please select branch flow', and: 'and', or: 'or', diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts index 6fc276aea504..079aedd3b7db 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts @@ -570,6 +570,7 @@ export default { add_pre_task_check_condition: '添加前置检查条件', switch_condition: '条件', switch_branch_flow: '分支流转', + switch_branch_flow_default: '默认分支流转', switch_branch_flow_tips: '请选择分支流转', and: '且', or: '或', diff --git a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts index d4e1453124fb..0b3a0702207b 100644 --- a/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts +++ b/dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts @@ -117,7 +117,7 @@ export function useSwitch( type: 'select', field: 'nextNode', span: 24, - name: t('project.node.switch_branch_flow'), + name: t('project.node.switch_branch_flow_default'), props: { loading: loading },