Skip to content

Commit 1469f03

Browse files
zkwolftangjinzhou
authored andcommitted
fix: cascader prop notFoundContent type typo (#1150)
1 parent 6ae2a19 commit 1469f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/cascader/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const CascaderProps = {
7575
/** 是否支持清除*/
7676
allowClear: PropTypes.bool.def(true),
7777
showSearch: PropTypes.oneOfType([Boolean, ShowSearchType]),
78-
notFoundContent: PropTypes.an,
78+
notFoundContent: PropTypes.any,
7979
loadData: PropTypes.func,
8080
/** 次级菜单的展开方式,可选 'click' 和 'hover' */
8181
expandTrigger: CascaderExpandTrigger,

0 commit comments

Comments
 (0)