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

This commit is contained in:
Amy0104 2022-04-24 17:56:10 +08:00 committed by GitHub
parent 7382284b7d
commit 257380467e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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