Commit a68eb50f675613e3c10d963a36ae3a165f22455d
Committed by
GitHub
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,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 | * @default , | 438 | * @default , |