diff --git a/packages/nc-gui-v2/components/dlg/QuickImport.vue b/packages/nc-gui-v2/components/dlg/QuickImport.vue index 794a096f1b..189d6fd8e0 100644 --- a/packages/nc-gui-v2/components/dlg/QuickImport.vue +++ b/packages/nc-gui-v2/components/dlg/QuickImport.vue @@ -107,6 +107,10 @@ const disablePreImportButton = computed(() => { } }) +const disableImportButton = computed(() => { + return !templateEditorRef.value?.isValid() +}) + const disableFormatJsonButton = computed(() => !jsonEditorRef.value?.isEditorValid()) async function handlePreImport() { @@ -213,7 +217,7 @@ function getAdapter(name: string, val: any) {