From bc5e5fa015f8c5f1d69f3f8572a1957d83cfe44e Mon Sep 17 00:00:00 2001 From: Zhong <58726932+cszhjh@users.noreply.github.com> Date: Tue, 5 Mar 2024 19:28:15 +0800 Subject: [PATCH] fix(component): resolve the issue of "vxe-table" export function not being able to be used (#3646) closed #3614 --- src/components/VxeTable/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 });