Comparing version 1.2.2 to 1.2.3-beta
@@ -233,3 +233,3 @@ 'use strict'; | ||
} | ||
var key = treeNode.key || treeNode.props.eventKey; | ||
var key = treeNode.props.eventKey; | ||
var checkedKeys = [].concat(_toConsumableArray(this.state.checkedKeys)); | ||
@@ -236,0 +236,0 @@ var index = checkedKeys.indexOf(key); |
@@ -65,2 +65,10 @@ 'use strict'; | ||
_createClass(TreeNode, [{ | ||
key: 'componentDidMount', | ||
value: function componentDidMount() { | ||
if (!this.props.root._treeNodeInstances) { | ||
this.props.root._treeNodeInstances = []; | ||
} | ||
this.props.root._treeNodeInstances.push(this); | ||
} | ||
}, { | ||
key: 'onCheck', | ||
@@ -67,0 +75,0 @@ value: function onCheck() { |
{ | ||
"name": "rc-tree", | ||
"version": "1.2.2", | ||
"version": "1.2.3-beta", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
62515
1476
1