Browse Source

feat(nc-gui): get importData.value after pre import

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

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

@ -228,6 +228,7 @@ async function parseAndExtractData(val: string | ArrayBuffer) {
templateGenerator.parse(() => { templateGenerator.parse(() => {
templateData.value = templateGenerator!.getTemplate() templateData.value = templateGenerator!.getTemplate()
if (importOnly) importColumns.value = templateGenerator!.getColumns() if (importOnly) importColumns.value = templateGenerator!.getColumns()
importData.value = templateGenerator!.getData()
templateEditorModal.value = true templateEditorModal.value = true
isParsingData.value = false isParsingData.value = false
preImportLoading.value = false preImportLoading.value = false

Loading…
Cancel
Save