diff --git a/packages/plugins/import/src/client/useImportAction.ts b/packages/plugins/import/src/client/useImportAction.ts index af1d4f420..92f3f9b35 100644 --- a/packages/plugins/import/src/client/useImportAction.ts +++ b/packages/plugins/import/src/client/useImportAction.ts @@ -124,7 +124,11 @@ export const useImportStartAction = () => { setVisible(false); setImportModalVisible(true); setImportStatus(ImportStatus.IMPORTING); - const { data }: any = await apiClient.axios.post(`${name}:importXlsx`, formData, {}).catch((err) => {}); + const { data }: any = await apiClient.axios + .post(`${name}:importXlsx`, formData, { + timeout: 10 * 60 * 1000, + }) + .catch((err) => {}); setImportResult(data); form.reset(); await service?.refresh?.();