diff --git a/packages/nc-gui/components/dlg/QuickImport.vue b/packages/nc-gui/components/dlg/QuickImport.vue index 182a5f347a..b60ddacd00 100644 --- a/packages/nc-gui/components/dlg/QuickImport.vue +++ b/packages/nc-gui/components/dlg/QuickImport.vue @@ -149,9 +149,9 @@ const dialogShow = useVModel(rest, 'modelValue', emit) if (isWorkerSupport) { watch( dialogShow, - (val) => { + async (val) => { if (val) { - importWorker = initWorker(importWorkerUrl) + importWorker = await initWorker(importWorkerUrl) } else { importWorker?.terminate() }