Browse Source

feat(nc-gui): allow excel import to check use first row as headers

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
bed98a7ba4
  1. 2
      packages/nc-gui/components/dlg/QuickImport.vue

2
packages/nc-gui/components/dlg/QuickImport.vue

@ -438,7 +438,7 @@ const beforeUpload = (file: UploadFile) => {
</a-checkbox> </a-checkbox>
</a-form-item> </a-form-item>
<a-form-item v-if="isImportTypeCsv" class="!my-2"> <a-form-item v-if="isImportTypeCsv || IsImportTypeExcel" class="!my-2">
<a-checkbox v-model:checked="importState.parserConfig.firstRowAsHeaders"> <a-checkbox v-model:checked="importState.parserConfig.firstRowAsHeaders">
<span class="caption">Use First Row as Headers</span> <span class="caption">Use First Row as Headers</span>
</a-checkbox> </a-checkbox>

Loading…
Cancel
Save