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
parent
commit
bc5e5fa015
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/components/VxeTable/index.ts

3
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 });

Loading…
Cancel
Save