Commit f1d42769ea586bbce67d655ba86b09f4a2a48a5f

Authored by Aborn Jiang
Committed by 蒋琴
1 parent dac9301a

Update table.ts (#2223)

兼容row key有可能为number的情况
src/components/Table/src/types/table.ts
... ... @@ -87,7 +87,7 @@ export interface TableActionType {
87 87 getSelectRows: <T = Recordable>() => T[];
88 88 clearSelectedRowKeys: () => void;
89 89 expandAll: () => void;
90   - expandRows: (keys: string[]) => void;
  90 + expandRows: (keys: string[] | number[]) => void;
91 91 collapseAll: () => void;
92 92 scrollTo: (pos: string) => void; // pos: id | "top" | "bottom"
93 93 getSelectRowKeys: () => string[];
... ...