fix: table add support number key
parent
92f1fcd0ff
commit
c0a80f258a
|
@ -169,7 +169,7 @@ export const SelectionCheckboxAllProps = {
|
||||||
export const SelectionBoxProps = {
|
export const SelectionBoxProps = {
|
||||||
store: Store,
|
store: Store,
|
||||||
type: RowSelectionType,
|
type: RowSelectionType,
|
||||||
defaultSelection: PropTypes.arrayOf(PropTypes.string),
|
defaultSelection: PropTypes.arrayOf([PropTypes.string, PropTypes.number]),
|
||||||
rowIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
rowIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||||
name: PropTypes.string,
|
name: PropTypes.string,
|
||||||
disabled: PropTypes.bool,
|
disabled: PropTypes.bool,
|
||||||
|
@ -183,7 +183,7 @@ export const SelectionBoxProps = {
|
||||||
|
|
||||||
export const FilterMenuProps = {
|
export const FilterMenuProps = {
|
||||||
locale: TableLocale,
|
locale: TableLocale,
|
||||||
selectedKeys: PropTypes.arrayOf(PropTypes.string),
|
selectedKeys: PropTypes.arrayOf([PropTypes.string, PropTypes.number]),
|
||||||
column: PropTypes.object,
|
column: PropTypes.object,
|
||||||
confirmFilter: PropTypes.func,
|
confirmFilter: PropTypes.func,
|
||||||
prefixCls: PropTypes.string,
|
prefixCls: PropTypes.string,
|
||||||
|
|
Loading…
Reference in New Issue