diff --git a/src/components/VxeTable/index.ts b/src/components/VxeTable/index.ts index be121296..d64701ba 100644 --- a/src/components/VxeTable/index.ts +++ b/src/components/VxeTable/index.ts @@ -3,10 +3,11 @@ import vxeBasicTable from './src/VxeBasicTable'; import { VXETable } from 'vxe-table'; import VXETablePluginAntd from './src/components'; import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx'; +import ExcelJS from 'exceljs'; import './src/setting'; export const VxeBasicTable = withInstall(vxeBasicTable); export * from 'vxe-table'; export * from './src/types'; -VXETable.use(VXETablePluginAntd).use(VXETablePluginExportXLSX); +VXETable.use(VXETablePluginAntd).use(VXETablePluginExportXLSX, { ExcelJS });