update
This commit is contained in:
2
dist/index.common.js
vendored
2
dist/index.common.js
vendored
File diff suppressed because one or more lines are too long
4
index.ts
4
index.ts
@@ -40,7 +40,7 @@ function exportXLSX (params: InterceptorExportParams) {
|
||||
const { footerData } = $table.getTableData()
|
||||
const footers = footerFilterMethod ? footerData.filter(footerFilterMethod) : footerData
|
||||
footers.forEach((rows) => {
|
||||
const item: any = {}
|
||||
const item: { [key: string]: any } = {}
|
||||
columns.forEach((column) => {
|
||||
item[column.id] = getFooterCellValue($table, options, rows, column)
|
||||
})
|
||||
@@ -92,7 +92,7 @@ function parseCsv (columns: ColumnConfig[], content: string) {
|
||||
list[0].split(',').map(replaceDoubleQuotation)
|
||||
rList.forEach((r) => {
|
||||
if (r) {
|
||||
const item: any = {}
|
||||
const item: { [key: string]: any } = {}
|
||||
r.split(',').forEach((val, colIndex) => {
|
||||
if (fields[colIndex]) {
|
||||
item[fields[colIndex]] = replaceDoubleQuotation(val)
|
||||
|
||||
Reference in New Issue
Block a user