This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch 3.0.0-alpha-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/3.0.0-alpha-prepare by this
push:
new 83c745eb41 [cherry-pick][Fix][UI Next][V1.0.0-Alpha]Add zh for dag
execution policy (#9397)
83c745eb41 is described below
commit 83c745eb41189f6d26a3f6af35db346457fd616c
Author: Devosend <[email protected]>
AuthorDate: Fri Apr 8 13:36:02 2022 +0800
[cherry-pick][Fix][UI Next][V1.0.0-Alpha]Add zh for dag execution policy
(#9397)
---
.../workflow/components/dag/dag-save-modal.tsx | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
index c4ab2b0976..d96379b336 100644
---
a/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
+++
b/dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx
@@ -95,12 +95,7 @@ export default defineComponent({
sync: false
})
const formRef = ref()
- const executeTypeOptions = [
- { value: 'PARALLEL', label: 'parallel' },
- { value: 'SERIAL_WAIT', label: 'Serial wait' },
- { value: 'SERIAL_DISCARD', label: 'Serial discard' },
- { value: 'SERIAL_PRIORITY', label: 'Serial priority' }
- ]
+
const rule = {
name: {
required: true,
@@ -228,7 +223,18 @@ export default defineComponent({
path='executionType'
>
<NSelect
- options={executeTypeOptions}
+ options={[
+ { value: 'PARALLEL', label: t('project.dag.parallel') },
+ { value: 'SERIAL_WAIT', label: t('project.dag.serial_wait')
},
+ {
+ value: 'SERIAL_DISCARD',
+ label: t('project.dag.serial_discard')
+ },
+ {
+ value: 'SERIAL_PRIORITY',
+ label: t('project.dag.serial_priority')
+ }
+ ]}
v-model:value={formValue.value.executionType}
/>
</NFormItem>