Browse Source

[Fix][UI Next][V1.0.0-Beta] Set the timout label to not show. (#9710)

3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
257380467e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx

6
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx

@ -209,7 +209,7 @@ export default defineComponent({
<NSwitch v-model:value={formValue.value.timeoutFlag} /> <NSwitch v-model:value={formValue.value.timeoutFlag} />
</NFormItem> </NFormItem>
{formValue.value.timeoutFlag && ( {formValue.value.timeoutFlag && (
<NFormItem label=' ' path='timeout'> <NFormItem showLabel={false} path='timeout'>
<NInputNumber <NInputNumber
v-model:value={formValue.value.timeout} v-model:value={formValue.value.timeout}
show-button={false} show-button={false}
@ -255,14 +255,14 @@ export default defineComponent({
/> />
</NFormItem> </NFormItem>
{props.definition && !props.instance && ( {props.definition && !props.instance && (
<NFormItem path='timeoutFlag'> <NFormItem path='timeoutFlag' showLabel={false}>
<NCheckbox v-model:checked={formValue.value.release}> <NCheckbox v-model:checked={formValue.value.release}>
{t('project.dag.online_directly')} {t('project.dag.online_directly')}
</NCheckbox> </NCheckbox>
</NFormItem> </NFormItem>
)} )}
{props.instance && ( {props.instance && (
<NFormItem path='sync'> <NFormItem path='sync' showLabel={false}>
<NCheckbox v-model:checked={formValue.value.sync}> <NCheckbox v-model:checked={formValue.value.sync}>
{t('project.dag.update_directly')} {t('project.dag.update_directly')}
</NCheckbox> </NCheckbox>

Loading…
Cancel
Save