Commit a68eb50f675613e3c10d963a36ae3a165f22455d

Authored by Aresn
Committed by GitHub
2 parents 7b8748e9 744415c7

Merge pull request #5673 from yangdan8/3.4.0更新d.ts

table中下载时的callback函数添加参数data
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
types/table.d.ts
... ... @@ -432,7 +432,7 @@ export declare interface TableExportCsvParams {
432 432 /**
433 433 * 添加此函数后,不会下载,而是返回数据
434 434 */
435   - callback?: () => void;
  435 + callback?: (data?: any) => void;
436 436 /**
437 437 * 数据分隔符,默认是逗号(,)
438 438 * @default ,
... ...