Browse Source

feat(gui-v2): parser config

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
2776651352
  1. 4
      packages/nc-gui-v2/components/dlg/QuickImport.vue

4
packages/nc-gui-v2/components/dlg/QuickImport.vue

@ -45,6 +45,7 @@ const importState = reactive({
const validators = computed(() => {
return {
'url': [fieldRequiredValidator, importUrlValidator],
'maxRowsToParse': [fieldRequiredValidator]
}
})
@ -190,6 +191,9 @@ const parseAndExtractData = async (type: string, val: any, name: string) => {
</span>
</template>
<div class="pr-10 pb-10 pt-5">
<a-form-item :label="t('msg.info.footMsg')" v-bind="validateInfos.maxRowsToParse">
<a-input-number id="x" v-model:value="importState.parserConfig.maxRowsToParse" :min="1" :max="50000" size="large" />
</a-form-item>
<a-upload-dragger
v-model:fileList="importState.fileList"
name="file"

Loading…
Cancel
Save