Commit 744415c77814f2d27925ed487a461f2b720cb652

Authored by yangd
1 parent 22827975

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 ,
... ...