فهرست منبع

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

closed #3614
Zhong 1 سال پیش
والد
کامیت
bc5e5fa015
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/components/VxeTable/index.ts

+ 2 - 1
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 });