File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7373 "@babel/runtime" : " ^7.12.5" ,
7474 "array-tree-filter" : " ^2.1.0" ,
7575 "classnames" : " ^2.3.1" ,
76- "rc-select" : " ~14.8 .0" ,
76+ "rc-select" : " ~14.9 .0" ,
7777 "rc-tree" : " ~5.7.0" ,
7878 "rc-util" : " ^5.35.0"
7979 },
Original file line number Diff line number Diff line change 1- import * as React from 'react' ;
21import warning from 'rc-util/lib/warning' ;
2+ import * as React from 'react' ;
33import type { CascaderProps , ShowSearchType } from '../Cascader' ;
44
55// Convert `showSearch` to unique config
@@ -21,7 +21,7 @@ export default function useSearchConfig(showSearch?: CascaderProps['showSearch']
2121 } ;
2222 }
2323
24- if ( searchConfig . limit <= 0 ) {
24+ if ( ( searchConfig . limit as number ) <= 0 ) {
2525 delete searchConfig . limit ;
2626
2727 if ( process . env . NODE_ENV !== 'production' ) {
You can’t perform that action at this time.
0 commit comments