Skip to content

Commit

Permalink
fix: 格式化后ts忽略错误修复
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Sep 14, 2022
1 parent 27349ea commit 360e7e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/meTable/hooks/exportTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ export default (elTable: ELTable, type: ExportType, filename?: string, options?:
const table = new TableExport(elTable.$el as Node, Object.assign({ exportButtons: false, ignoreRows }, options));
//@ts-ignore
const tableData = (table.getExportData() as Record<string, any>)[TableExport.prototype.defaultNamespace + '1'][type];
//@ts-ignore
// @ts-ignore
table.export2file(
tableData.data,
tableData.mimeType,
filename ?? tableData.filename,
tableData.fileExtension,
// @ts-ignore
tableData.merges,
tableData.RTL,
tableData.sheetname,
Expand Down

0 comments on commit 360e7e7

Please sign in to comment.