This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 79b6db74fe [Improvement-14363][UI] Add Default Branch Flow in switch
task (#14364)
79b6db74fe is described below
commit 79b6db74fe258c63893724e32d54d0b1ceebb1bd
Author: Rick Cheng <[email protected]>
AuthorDate: Tue Jun 27 10:29:03 2023 +0800
[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 +
.../src/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 6bb98be1a1..e3b8f7628b 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 6fc276aea5..079aedd3b7 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 d4e1453124..0b3a070220 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
},