mirror of
https://gitcode.com/gh_mirrors/vue/vue-vben-admin
synced 2025-12-30 13:12:26 +00:00
fix(component): resolve the issue of "vxe-table" export function not being able to be used (#3646)
closed #3614
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user