easy3wui 1.5.76-beta.1 → 1.5.76
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 3.js +1088 -0
- package/lib/Easy3wUploadB/index.js +140 -62
- package/lib/Easy3wUploadM/index copy.js +523 -0
- package/lib/Easy3wUploadM/index.js +38 -11
- package/package.json +1 -1
|
@@ -112,6 +112,13 @@ var Easy3wGridPage = function (_Component) {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
|
|
115
|
+
Easy3wGridPage.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {
|
|
116
|
+
var that = this;
|
|
117
|
+
if (this.props.totalResult && this.props.totalResult !== prevProps.totalResult) {
|
|
118
|
+
that.setState({ pagination: { offset: 1, limit: 10 } });
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
115
122
|
Easy3wGridPage.prototype.render = function render() {
|
|
116
123
|
var _this2 = this;
|
|
117
124
|
|