From 34bfc91b5d521284afe9f3f8cebe89e7dc115657 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Tue, 20 Oct 2020 17:55:10 +0800 Subject: [PATCH] fix: tree-select treecheckable not work --- components/tree-select/interface.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tree-select/interface.jsx b/components/tree-select/interface.jsx index 9c5f16bf0..fbf2aa1eb 100644 --- a/components/tree-select/interface.jsx +++ b/components/tree-select/interface.jsx @@ -37,7 +37,7 @@ export const TreeSelectProps = () => ({ searchValue: PropTypes.string, showCheckedStrategy: PropTypes.oneOf(['SHOW_ALL', 'SHOW_PARENT', 'SHOW_CHILD']), suffixIcon: PropTypes.any, - treeCheckable: PropTypes.any, + treeCheckable: PropTypes.looseBool, treeCheckStrictly: PropTypes.looseBool, treeData: PropTypes.arrayOf(Object), treeDataSimpleMode: withUndefined(PropTypes.oneOfType([PropTypes.looseBool, Object])),