Comparing version 4.8.0 to 4.8.1
@@ -96,2 +96,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
this._component = null; | ||
// 离开时不会 render, 导到离开时数值不变,改用 func 。。 | ||
openCount = visible && openCount ? openCount - 1 : openCount; | ||
@@ -123,3 +124,5 @@ if (!IS_REACT_16) { | ||
var childProps = { | ||
openCount: openCount, | ||
getOpenCount: function getOpenCount() { | ||
return openCount; | ||
}, | ||
getContainer: this.getContainer | ||
@@ -126,0 +129,0 @@ }; |
@@ -137,2 +137,3 @@ 'use strict'; | ||
this._component = null; | ||
// 离开时不会 render, 导到离开时数值不变,改用 func 。。 | ||
openCount = visible && openCount ? openCount - 1 : openCount; | ||
@@ -164,3 +165,5 @@ if (!IS_REACT_16) { | ||
var childProps = { | ||
openCount: openCount, | ||
getOpenCount: function getOpenCount() { | ||
return openCount; | ||
}, | ||
getContainer: this.getContainer | ||
@@ -167,0 +170,0 @@ }; |
{ | ||
"name": "rc-util", | ||
"version": "4.8.0", | ||
"version": "4.8.1", | ||
"description": "Common Utils For React Component", | ||
@@ -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
90612
2891