rc-pagination
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -53,4 +53,5 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; | ||
rootPrefixCls = _this$props.rootPrefixCls; | ||
var goInputText = _this.state.goInputText; | ||
if (goButton) { | ||
if (goButton || goInputText === '') { | ||
return; | ||
@@ -63,2 +64,6 @@ } | ||
_this.setState({ | ||
goInputText: '' | ||
}); | ||
quickGo(_this.getValidValue()); | ||
@@ -65,0 +70,0 @@ }; |
@@ -66,4 +66,5 @@ "use strict"; | ||
rootPrefixCls = _this$props.rootPrefixCls; | ||
var goInputText = _this.state.goInputText; | ||
if (goButton) { | ||
if (goButton || goInputText === '') { | ||
return; | ||
@@ -76,2 +77,6 @@ } | ||
_this.setState({ | ||
goInputText: '' | ||
}); | ||
quickGo(_this.getValidValue()); | ||
@@ -78,0 +83,0 @@ }; |
{ | ||
"name": "rc-pagination", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "pagination 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
147305
3794