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.
- package/lib/Easy3wGridPage/index.js +7 -0
- package/lib/Easy3wUploadB/index copy.js +1003 -0
- package/lib/Easy3wUploadB/index.js +141 -62
- package/lib/Easy3wUploadM/index copy.js +504 -0
- package/lib/Easy3wUploadM/index.js +38 -11
- package/package.json +1 -1
|
@@ -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
|
|