Browse Source
fix(component): resolve the issue of "vxe-table" export function not being able to be used (#3646)
closed #3614
pull/3651/head
Zhong
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
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 }); |
|
|
|
|