easy3wui 4.0.36 → 4.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,6 +105,13 @@ var Easy3wGridPage = function (_Component) {
105
105
  }
106
106
  };
107
107
 
108
+ Easy3wGridPage.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
109
+ var that = this;
110
+ if (this.props.totalResult && this.props.totalResult !== prevProps.totalResult) {
111
+ that.setState({ pagination: { offset: 1, limit: 10 } });
112
+ }
113
+ };
114
+
108
115
  Easy3wGridPage.prototype.render = function render() {
109
116
  var _this2 = this;
110
117