From 1469f0301173e40aa2a7ea09e13e5c5453065723 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Tue, 3 Sep 2019 17:36:50 +0800 Subject: [PATCH] fix: cascader prop notFoundContent type typo (#1150) --- components/cascader/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cascader/index.jsx b/components/cascader/index.jsx index a07c9b430..8054ff2a8 100644 --- a/components/cascader/index.jsx +++ b/components/cascader/index.jsx @@ -75,7 +75,7 @@ const CascaderProps = { /** 是否支持清除*/ allowClear: PropTypes.bool.def(true), showSearch: PropTypes.oneOfType([Boolean, ShowSearchType]), - notFoundContent: PropTypes.an, + notFoundContent: PropTypes.any, loadData: PropTypes.func, /** 次级菜单的展开方式,可选 'click' 和 'hover' */ expandTrigger: CascaderExpandTrigger,