Commit a5722e4518fa1f962a1fd48572ae57d7e55c3262
1 parent
2a655146
修正table中render函数返回类型
Showing
2 changed files
with
1 additions
and
23 deletions
Show diff stats
types/iview.components.d.ts
... | ... | @@ -52,7 +52,7 @@ export { Slider } from './slider'; |
52 | 52 | export { Spin } from './spin'; |
53 | 53 | export { Steps, StepsStep } from './steps'; |
54 | 54 | export { Switch, Switch as ISwitch } from './switch'; |
55 | -export { Table, TableColumn, TableRenderCreateElementData, TableColumnRenderParams, TableRenderCreateElementResult, TableColumnRenderHeadParams, TableExportCsvParams } from './table'; | |
55 | +export { Table, TableColumn, TableRenderCreateElementData, TableColumnRenderParams, TableColumnRenderHeadParams, TableExportCsvParams } from './table'; | |
56 | 56 | export { Tabs, TabPane } from './tabs'; |
57 | 57 | export { Tag } from './tag'; |
58 | 58 | export { Time } from './time'; | ... | ... |
types/table.d.ts
... | ... | @@ -357,28 +357,6 @@ export declare interface TableColumnRenderParams { |
357 | 357 | index?: number; |
358 | 358 | } |
359 | 359 | |
360 | -export declare interface TableRenderCreateElementResult { | |
361 | - child?: object; | |
362 | - children?: Array<any>; | |
363 | - componentInstance?: object; | |
364 | - componentOptions?: object; | |
365 | - context?: object; | |
366 | - data?: object; | |
367 | - elm?: object; | |
368 | - functionalContext?: object; | |
369 | - isCloned?: boolean; | |
370 | - isComment?: boolean; | |
371 | - isOnce?: boolean; | |
372 | - isRootInsert?: boolean; | |
373 | - isStatic?: boolean; | |
374 | - key?: object; | |
375 | - ns?: object; | |
376 | - parent?: object; | |
377 | - raw?: boolean; | |
378 | - tag?: string; | |
379 | - text?: object; | |
380 | -} | |
381 | - | |
382 | 360 | export declare interface TableColumnRenderHeadParams { |
383 | 361 | /** |
384 | 362 | * 当前列数据 | ... | ... |