easy3wui 1.5.85-beta.6 → 1.5.85-beta.7
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.
|
@@ -1325,13 +1325,13 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
1325
1325
|
this.getLoading = function () {
|
|
1326
1326
|
var spinLoading = false;
|
|
1327
1327
|
var queryApi = _this3.props.queryApi;
|
|
1328
|
-
var
|
|
1328
|
+
var effectsFetch = _this3.props.loading.effectsFetch;
|
|
1329
1329
|
|
|
1330
1330
|
if (queryApi && typeof queryApi === 'string') {
|
|
1331
|
-
spinLoading =
|
|
1331
|
+
spinLoading = effectsFetch[queryApi];
|
|
1332
1332
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
1333
1333
|
queryApi.map(function (str) {
|
|
1334
|
-
var spinLoadingC =
|
|
1334
|
+
var spinLoadingC = effectsFetch[str];
|
|
1335
1335
|
if (spinLoadingC) {
|
|
1336
1336
|
spinLoading = spinLoadingC;
|
|
1337
1337
|
}
|
|
@@ -2401,16 +2401,16 @@ var Easy3wFormPageM = exports.Easy3wFormPageM = function (_Component) {
|
|
|
2401
2401
|
},
|
|
2402
2402
|
cName
|
|
2403
2403
|
);
|
|
2404
|
-
}, _this.
|
|
2404
|
+
}, _this.getLoading = function () {
|
|
2405
2405
|
var spinLoading = false;
|
|
2406
2406
|
var queryApi = _this.props.queryApi;
|
|
2407
|
-
var
|
|
2407
|
+
var effectsFetch = _this.props.loadingFlag.effectsFetch;
|
|
2408
2408
|
|
|
2409
2409
|
if (queryApi && typeof queryApi === 'string') {
|
|
2410
|
-
spinLoading =
|
|
2410
|
+
spinLoading = effectsFetch[queryApi];
|
|
2411
2411
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
2412
2412
|
queryApi.map(function (str) {
|
|
2413
|
-
var spinLoadingC =
|
|
2413
|
+
var spinLoadingC = effectsFetch[str];
|
|
2414
2414
|
if (spinLoadingC) {
|
|
2415
2415
|
spinLoading = spinLoadingC;
|
|
2416
2416
|
}
|
|
@@ -2606,7 +2606,7 @@ var Easy3wFormPageM = exports.Easy3wFormPageM = function (_Component) {
|
|
|
2606
2606
|
|
|
2607
2607
|
|
|
2608
2608
|
Easy3wFormPageM.prototype.render = function render() {
|
|
2609
|
-
var spinLoading = this.
|
|
2609
|
+
var spinLoading = this.getLoading();
|
|
2610
2610
|
return _react2['default'].createElement(
|
|
2611
2611
|
_Easy3wSpin2['default'],
|
|
2612
2612
|
{ noStyle: true, spinLoading: spinLoading },
|
|
@@ -4304,16 +4304,16 @@ var Easy3wFormPageTightM = exports.Easy3wFormPageTightM = function (_Component2)
|
|
|
4304
4304
|
},
|
|
4305
4305
|
cName
|
|
4306
4306
|
);
|
|
4307
|
-
}, _this2.
|
|
4307
|
+
}, _this2.getLoading = function () {
|
|
4308
4308
|
var spinLoading = false;
|
|
4309
4309
|
var queryApi = _this2.props.queryApi;
|
|
4310
|
-
var
|
|
4310
|
+
var effectsFetch = _this2.props.loadingFlag.effectsFetch;
|
|
4311
4311
|
|
|
4312
4312
|
if (queryApi && typeof queryApi === 'string') {
|
|
4313
|
-
spinLoading =
|
|
4313
|
+
spinLoading = effectsFetch[queryApi];
|
|
4314
4314
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
4315
4315
|
queryApi.map(function (str) {
|
|
4316
|
-
var spinLoadingC =
|
|
4316
|
+
var spinLoadingC = effectsFetch[str];
|
|
4317
4317
|
if (spinLoadingC) {
|
|
4318
4318
|
spinLoading = spinLoadingC;
|
|
4319
4319
|
}
|
|
@@ -4484,7 +4484,7 @@ var Easy3wFormPageTightM = exports.Easy3wFormPageTightM = function (_Component2)
|
|
|
4484
4484
|
|
|
4485
4485
|
|
|
4486
4486
|
Easy3wFormPageTightM.prototype.render = function render() {
|
|
4487
|
-
var spinLoading = this.
|
|
4487
|
+
var spinLoading = this.getLoading();
|
|
4488
4488
|
var getAllForms = this.getAllForms();
|
|
4489
4489
|
var borderFlag = this.props.borderFlag;
|
|
4490
4490
|
// noLabelFlag 布尔值
|
|
@@ -2252,16 +2252,16 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
|
|
|
2252
2252
|
},
|
|
2253
2253
|
cName
|
|
2254
2254
|
);
|
|
2255
|
-
}, _this.
|
|
2255
|
+
}, _this.getLoading = function () {
|
|
2256
2256
|
var spinLoading = false;
|
|
2257
2257
|
var queryApi = _this.props.queryApi;
|
|
2258
|
-
var
|
|
2258
|
+
var effectsFetch = _this.props.loadingFlag.effectsFetch;
|
|
2259
2259
|
|
|
2260
2260
|
if (queryApi && typeof queryApi === 'string') {
|
|
2261
|
-
spinLoading =
|
|
2261
|
+
spinLoading = effectsFetch[queryApi];
|
|
2262
2262
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
2263
2263
|
queryApi.map(function (str) {
|
|
2264
|
-
var spinLoadingC =
|
|
2264
|
+
var spinLoadingC = effectsFetch[str];
|
|
2265
2265
|
if (spinLoadingC) {
|
|
2266
2266
|
spinLoading = spinLoadingC;
|
|
2267
2267
|
}
|
|
@@ -2454,7 +2454,7 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
|
|
|
2454
2454
|
// #endregion 获取表单loading状态
|
|
2455
2455
|
|
|
2456
2456
|
Easy3wFormPagePC.prototype.render = function render() {
|
|
2457
|
-
var spinLoading = this.
|
|
2457
|
+
var spinLoading = this.getLoading();
|
|
2458
2458
|
return _react2['default'].createElement(
|
|
2459
2459
|
_Easy3wSpin2['default'],
|
|
2460
2460
|
{ noStyle: true, spinLoading: spinLoading },
|
|
@@ -4041,16 +4041,16 @@ var Easy3wFormPageTightPC = exports.Easy3wFormPageTightPC = function (_Component
|
|
|
4041
4041
|
},
|
|
4042
4042
|
cName
|
|
4043
4043
|
);
|
|
4044
|
-
}, _this2.
|
|
4044
|
+
}, _this2.getLoading = function () {
|
|
4045
4045
|
var spinLoading = false;
|
|
4046
4046
|
var queryApi = _this2.props.queryApi;
|
|
4047
|
-
var
|
|
4047
|
+
var effectsFetch = _this2.props.loadingFlag.effectsFetch;
|
|
4048
4048
|
|
|
4049
4049
|
if (queryApi && typeof queryApi === 'string') {
|
|
4050
|
-
spinLoading =
|
|
4050
|
+
spinLoading = effectsFetch[queryApi];
|
|
4051
4051
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
4052
4052
|
queryApi.map(function (str) {
|
|
4053
|
-
var spinLoadingC =
|
|
4053
|
+
var spinLoadingC = effectsFetch[str];
|
|
4054
4054
|
if (spinLoadingC) {
|
|
4055
4055
|
spinLoading = spinLoadingC;
|
|
4056
4056
|
}
|
|
@@ -4220,7 +4220,7 @@ var Easy3wFormPageTightPC = exports.Easy3wFormPageTightPC = function (_Component
|
|
|
4220
4220
|
// #endregion 获取表单loading状态
|
|
4221
4221
|
|
|
4222
4222
|
Easy3wFormPageTightPC.prototype.render = function render() {
|
|
4223
|
-
var spinLoading = this.
|
|
4223
|
+
var spinLoading = this.getLoading();
|
|
4224
4224
|
var getAllForms = this.getAllForms();
|
|
4225
4225
|
var borderFlag = this.props.borderFlag;
|
|
4226
4226
|
// noLabelFlag 布尔值
|
|
@@ -882,13 +882,13 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
882
882
|
this.getLoading = function () {
|
|
883
883
|
var spinLoading = false;
|
|
884
884
|
var queryApi = _this3.props.queryApi;
|
|
885
|
-
var
|
|
885
|
+
var effectsFetch = _this3.props.loading.effectsFetch;
|
|
886
886
|
|
|
887
887
|
if (queryApi && typeof queryApi === 'string') {
|
|
888
|
-
spinLoading =
|
|
888
|
+
spinLoading = effectsFetch[queryApi];
|
|
889
889
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
890
890
|
queryApi.map(function (str) {
|
|
891
|
-
var spinLoadingC =
|
|
891
|
+
var spinLoadingC = effectsFetch[str];
|
|
892
892
|
if (spinLoadingC) {
|
|
893
893
|
spinLoading = spinLoadingC;
|
|
894
894
|
}
|
|
@@ -859,13 +859,13 @@ var _initialiseProps = function _initialiseProps() {
|
|
|
859
859
|
this.getLoading = function () {
|
|
860
860
|
var spinLoading = false;
|
|
861
861
|
var queryApi = _this3.props.queryApi;
|
|
862
|
-
var
|
|
862
|
+
var effectsFetch = _this3.props.loading.effectsFetch;
|
|
863
863
|
|
|
864
864
|
if (queryApi && typeof queryApi === 'string') {
|
|
865
|
-
spinLoading =
|
|
865
|
+
spinLoading = effectsFetch[queryApi];
|
|
866
866
|
} else if (queryApi && queryApi instanceof Array && queryApi.length) {
|
|
867
867
|
queryApi.map(function (str) {
|
|
868
|
-
var spinLoadingC =
|
|
868
|
+
var spinLoadingC = effectsFetch[str];
|
|
869
869
|
if (spinLoadingC) {
|
|
870
870
|
spinLoading = spinLoadingC;
|
|
871
871
|
}
|