|
|
@ -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> |
|
|
|