Skip to content

Commit

Permalink
fix: table add support number key
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 6, 2018
1 parent dd907ab commit 9b7f5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/table/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const SelectionCheckboxAllProps = {
export const SelectionBoxProps = {
store: Store,
type: RowSelectionType,
defaultSelection: PropTypes.arrayOf(PropTypes.string),
defaultSelection: PropTypes.arrayOf([PropTypes.string, PropTypes.number]),
rowIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
name: PropTypes.string,
disabled: PropTypes.bool,
Expand All @@ -183,7 +183,7 @@ export const SelectionBoxProps = {

export const FilterMenuProps = {
locale: TableLocale,
selectedKeys: PropTypes.arrayOf(PropTypes.string),
selectedKeys: PropTypes.arrayOf([PropTypes.string, PropTypes.number]),
column: PropTypes.object,
confirmFilter: PropTypes.func,
prefixCls: PropTypes.string,
Expand Down

0 comments on commit 9b7f5c2

Please sign in to comment.