mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +08:00
[Fix][UI-Next][V1.0.0-Alpha] Fix the notification strategy options display error in the set parameters before timing modal. (#9314)
This commit is contained in:
parent
c99b33a083
commit
6b2a4e31ea
@ -102,25 +102,6 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
const warningTypeOptions = [
|
||||
{
|
||||
value: 'NONE',
|
||||
label: t('project.workflow.none_send')
|
||||
},
|
||||
{
|
||||
value: 'SUCCESS',
|
||||
label: t('project.workflow.success_send')
|
||||
},
|
||||
{
|
||||
value: 'FAILURE',
|
||||
label: t('project.workflow.failure_send')
|
||||
},
|
||||
{
|
||||
value: 'ALL',
|
||||
label: t('project.workflow.all_send')
|
||||
}
|
||||
]
|
||||
|
||||
const priorityOptions = [
|
||||
{
|
||||
value: 'HIGHEST',
|
||||
@ -235,7 +216,6 @@ export default defineComponent({
|
||||
crontabRef,
|
||||
parallelismRef,
|
||||
priorityOptions,
|
||||
warningTypeOptions,
|
||||
environmentOptions,
|
||||
hideModal,
|
||||
handleTiming,
|
||||
@ -342,7 +322,24 @@ export default defineComponent({
|
||||
path='warningType'
|
||||
>
|
||||
<NSelect
|
||||
options={this.warningTypeOptions}
|
||||
options={[
|
||||
{
|
||||
value: 'NONE',
|
||||
label: t('project.workflow.none_send')
|
||||
},
|
||||
{
|
||||
value: 'SUCCESS',
|
||||
label: t('project.workflow.success_send')
|
||||
},
|
||||
{
|
||||
value: 'FAILURE',
|
||||
label: t('project.workflow.failure_send')
|
||||
},
|
||||
{
|
||||
value: 'ALL',
|
||||
label: t('project.workflow.all_send')
|
||||
}
|
||||
]}
|
||||
v-model:value={this.timingForm.warningType}
|
||||
/>
|
||||
</NFormItem>
|
||||
|
Loading…
Reference in New Issue
Block a user