|
|
@ -1,5 +1,6 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
import type { UploadChangeParam, UploadFile } from 'ant-design-vue' |
|
|
|
import type { UploadChangeParam, UploadFile } from 'ant-design-vue' |
|
|
|
|
|
|
|
import type { BaseType } from 'nocodb-sdk' |
|
|
|
import { |
|
|
|
import { |
|
|
|
message, |
|
|
|
message, |
|
|
|
ref, |
|
|
|
ref, |
|
|
@ -98,7 +99,7 @@ function openQuickImportDialog(type: QuickImportTypes, file: File) { |
|
|
|
'modelValue': isOpen, |
|
|
|
'modelValue': isOpen, |
|
|
|
'importType': type, |
|
|
|
'importType': type, |
|
|
|
'onUpdate:modelValue': closeDialog, |
|
|
|
'onUpdate:modelValue': closeDialog, |
|
|
|
'baseId': bases.value?.filter((base: any) => base.enabled)[0].id, |
|
|
|
'baseId': bases.value?.filter((base: BaseType) => base.enabled)[0].id, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
vNode.value?.component?.exposed?.handleChange({ |
|
|
|
vNode.value?.component?.exposed?.handleChange({ |
|
|
|