fix(component): resolve the issue of "vxe-table" export function not being able to be used (#3646)

closed #3614
This commit is contained in:
Zhong 2024-03-05 19:28:15 +08:00 committed by GitHub
parent 32061f468c
commit bc5e5fa015
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -3,10 +3,11 @@ import vxeBasicTable from './src/VxeBasicTable';
import { VXETable } from 'vxe-table'; import { VXETable } from 'vxe-table';
import VXETablePluginAntd from './src/components'; import VXETablePluginAntd from './src/components';
import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx'; import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx';
import ExcelJS from 'exceljs';
import './src/setting'; import './src/setting';
export const VxeBasicTable = withInstall(vxeBasicTable); export const VxeBasicTable = withInstall(vxeBasicTable);
export * from 'vxe-table'; export * from 'vxe-table';
export * from './src/types'; export * from './src/types';
VXETable.use(VXETablePluginAntd).use(VXETablePluginExportXLSX); VXETable.use(VXETablePluginAntd).use(VXETablePluginExportXLSX, { ExcelJS });