Browse Source

fix(gui-v2): incorrect a-form structure

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
0502d82e05
  1. 12
      packages/nc-gui-v2/components/dlg/FileImport.vue

12
packages/nc-gui-v2/components/dlg/FileImport.vue

@ -165,12 +165,10 @@ const handleSubmit = () => {
Url
</span>
</template>
<div class="pl-10 pr-10 pb-10 pt-5">
<a-form ref="formValidator" layout="vertical" :model="form">
<a-form-item ref="form" :model="importState" name="quick-import-url-form" layout="horizontal" class="mb-0">
<a-form-item :label="importMeta.urlInputLabel" v-bind="validateInfos.url">
<a-input v-model:value="importState.url" size="large" />
</a-form-item>
<div class="pl-10 pr-10 pt-5">
<a-form :model="importState" name="quick-import-url-form" layout="horizontal" class="mb-0">
<a-form-item :label="importMeta.urlInputLabel" v-bind="validateInfos.url">
<a-input v-model:value="importState.url" size="large" />
</a-form-item>
</a-form>
</div>
@ -184,4 +182,4 @@ const handleSubmit = () => {
overflow: auto;
height: 300px;
}
</style>
</style>

Loading…
Cancel
Save