Browse Source

[Improvement-14363][UI] Add Default Branch Flow in switch task (#14364)

3.2.1-prepare
Rick Cheng 1 year ago committed by GitHub
parent
commit
79b6db74fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-ui/src/locales/en_US/project.ts
  2. 1
      dolphinscheduler-ui/src/locales/zh_CN/project.ts
  3. 2
      dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts

1
dolphinscheduler-ui/src/locales/en_US/project.ts

@ -579,6 +579,7 @@ export default {
add_pre_task_check_condition: 'Add pre task check condition', add_pre_task_check_condition: 'Add pre task check condition',
switch_condition: 'Condition', switch_condition: 'Condition',
switch_branch_flow: 'Branch Flow', switch_branch_flow: 'Branch Flow',
switch_branch_flow_default: 'Default Branch Flow',
switch_branch_flow_tips: 'Please select branch flow', switch_branch_flow_tips: 'Please select branch flow',
and: 'and', and: 'and',
or: 'or', or: 'or',

1
dolphinscheduler-ui/src/locales/zh_CN/project.ts

@ -570,6 +570,7 @@ export default {
add_pre_task_check_condition: '添加前置检查条件', add_pre_task_check_condition: '添加前置检查条件',
switch_condition: '条件', switch_condition: '条件',
switch_branch_flow: '分支流转', switch_branch_flow: '分支流转',
switch_branch_flow_default: '默认分支流转',
switch_branch_flow_tips: '请选择分支流转', switch_branch_flow_tips: '请选择分支流转',
and: '且', and: '且',
or: '或', or: '或',

2
dolphinscheduler-ui/src/views/projects/task/components/node/fields/use-switch.ts

@ -117,7 +117,7 @@ export function useSwitch(
type: 'select', type: 'select',
field: 'nextNode', field: 'nextNode',
span: 24, span: 24,
name: t('project.node.switch_branch_flow'), name: t('project.node.switch_branch_flow_default'),
props: { props: {
loading: loading loading: loading
}, },

Loading…
Cancel
Save