fix: tree-select treecheckable not work

feat-dayjs^2
tanjinzhou 4 years ago
parent 7a2e2e3c3b
commit 34bfc91b5d

@ -37,7 +37,7 @@ export const TreeSelectProps = () => ({
searchValue: PropTypes.string, searchValue: PropTypes.string,
showCheckedStrategy: PropTypes.oneOf(['SHOW_ALL', 'SHOW_PARENT', 'SHOW_CHILD']), showCheckedStrategy: PropTypes.oneOf(['SHOW_ALL', 'SHOW_PARENT', 'SHOW_CHILD']),
suffixIcon: PropTypes.any, suffixIcon: PropTypes.any,
treeCheckable: PropTypes.any, treeCheckable: PropTypes.looseBool,
treeCheckStrictly: PropTypes.looseBool, treeCheckStrictly: PropTypes.looseBool,
treeData: PropTypes.arrayOf(Object), treeData: PropTypes.arrayOf(Object),
treeDataSimpleMode: withUndefined(PropTypes.oneOfType([PropTypes.looseBool, Object])), treeDataSimpleMode: withUndefined(PropTypes.oneOfType([PropTypes.looseBool, Object])),

Loading…
Cancel
Save