Comparing version 1.1.0 to 1.1.1
@@ -513,6 +513,8 @@ 'use strict'; | ||
children: _react.PropTypes.any, | ||
checkable: _react.PropTypes.oneOfType([_react.PropTypes.bool, _react.PropTypes.node]), | ||
multiple: _react.PropTypes.bool, | ||
showLine: _react.PropTypes.bool, | ||
showIcon: _react.PropTypes.bool, | ||
selectable: _react.PropTypes.bool, | ||
multiple: _react.PropTypes.bool, | ||
checkable: _react.PropTypes.oneOfType([_react.PropTypes.bool, _react.PropTypes.node]), | ||
draggable: _react.PropTypes.bool, | ||
autoExpandParent: _react.PropTypes.bool, | ||
@@ -545,8 +547,8 @@ defaultExpandAll: _react.PropTypes.bool, | ||
prefixCls: 'rc-tree', | ||
showLine: false, | ||
showIcon: true, | ||
selectable: true, | ||
multiple: false, | ||
checkable: false, | ||
draggable: false, | ||
showLine: false, | ||
showIcon: true, | ||
selectable: true, | ||
autoExpandParent: true, | ||
@@ -553,0 +555,0 @@ defaultExpandAll: false, |
@@ -290,2 +290,6 @@ 'use strict'; | ||
} | ||
// 如果默认不展开,不渲染进dom,在大量数据下,能使性能有很大提升! | ||
if (!props.expanded) { | ||
newChildren = null; | ||
} | ||
@@ -292,0 +296,0 @@ var selectHandle = function selectHandle() { |
{ | ||
"name": "rc-tree", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "tree ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61793
1552