@panpanzhao/component-ui 0.0.42 → 0.0.44
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.
|
@@ -3583,7 +3583,7 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3583
3583
|
}, {
|
|
3584
3584
|
button: button
|
|
3585
3585
|
});
|
|
3586
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
3586
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
3587
3587
|
_this3.on.success.call(_this3, {
|
|
3588
3588
|
request: _this3.requester,
|
|
3589
3589
|
reqData: reqData,
|
|
@@ -3612,7 +3612,7 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3612
3612
|
}, {
|
|
3613
3613
|
button: button
|
|
3614
3614
|
});
|
|
3615
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
3615
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
3616
3616
|
_this3.on.success.call(_this3, {
|
|
3617
3617
|
request: _this3.requester,
|
|
3618
3618
|
reqData: reqData,
|
|
@@ -3635,7 +3635,7 @@ var message_default = /*#__PURE__*/__webpack_require__.n(message_);
|
|
|
3635
3635
|
}, {
|
|
3636
3636
|
button: button
|
|
3637
3637
|
});
|
|
3638
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
3638
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
3639
3639
|
_this3.on.error.call(_this3, {
|
|
3640
3640
|
request: _this3.requester,
|
|
3641
3641
|
reqData: reqData,
|
package/lib/components/crud.js
CHANGED
|
@@ -1623,7 +1623,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1623
1623
|
}, {
|
|
1624
1624
|
button: button
|
|
1625
1625
|
});
|
|
1626
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1626
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1627
1627
|
_this3.on.success.call(_this3, {
|
|
1628
1628
|
request: _this3.requester,
|
|
1629
1629
|
reqData: reqData,
|
|
@@ -1652,7 +1652,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1652
1652
|
}, {
|
|
1653
1653
|
button: button
|
|
1654
1654
|
});
|
|
1655
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1655
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1656
1656
|
_this3.on.success.call(_this3, {
|
|
1657
1657
|
request: _this3.requester,
|
|
1658
1658
|
reqData: reqData,
|
|
@@ -1675,7 +1675,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1675
1675
|
}, {
|
|
1676
1676
|
button: button
|
|
1677
1677
|
});
|
|
1678
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1678
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1679
1679
|
_this3.on.error.call(_this3, {
|
|
1680
1680
|
request: _this3.requester,
|
|
1681
1681
|
reqData: reqData,
|
|
@@ -1194,7 +1194,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1194
1194
|
}, {
|
|
1195
1195
|
button: button
|
|
1196
1196
|
});
|
|
1197
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1197
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1198
1198
|
_this3.on.success.call(_this3, {
|
|
1199
1199
|
request: _this3.requester,
|
|
1200
1200
|
reqData: reqData,
|
|
@@ -1223,7 +1223,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1223
1223
|
}, {
|
|
1224
1224
|
button: button
|
|
1225
1225
|
});
|
|
1226
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1226
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1227
1227
|
_this3.on.success.call(_this3, {
|
|
1228
1228
|
request: _this3.requester,
|
|
1229
1229
|
reqData: reqData,
|
|
@@ -1246,7 +1246,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1246
1246
|
}, {
|
|
1247
1247
|
button: button
|
|
1248
1248
|
});
|
|
1249
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1249
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1250
1250
|
_this3.on.error.call(_this3, {
|
|
1251
1251
|
request: _this3.requester,
|
|
1252
1252
|
reqData: reqData,
|
|
@@ -1623,7 +1623,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1623
1623
|
}, {
|
|
1624
1624
|
button: button
|
|
1625
1625
|
});
|
|
1626
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1626
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1627
1627
|
_this3.on.success.call(_this3, {
|
|
1628
1628
|
request: _this3.requester,
|
|
1629
1629
|
reqData: reqData,
|
|
@@ -1652,7 +1652,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1652
1652
|
}, {
|
|
1653
1653
|
button: button
|
|
1654
1654
|
});
|
|
1655
|
-
if (_this3.on && typeof _this3.on.success === "function") {
|
|
1655
|
+
if (!_this3.$listeners.success && _this3.on && typeof _this3.on.success === "function") {
|
|
1656
1656
|
_this3.on.success.call(_this3, {
|
|
1657
1657
|
request: _this3.requester,
|
|
1658
1658
|
reqData: reqData,
|
|
@@ -1675,7 +1675,7 @@ var external_lodash_ = __webpack_require__(2);
|
|
|
1675
1675
|
}, {
|
|
1676
1676
|
button: button
|
|
1677
1677
|
});
|
|
1678
|
-
if (_this3.on && typeof _this3.on.error === "function") {
|
|
1678
|
+
if (!_this3.$listeners.error && _this3.on && typeof _this3.on.error === "function") {
|
|
1679
1679
|
_this3.on.error.call(_this3, {
|
|
1680
1680
|
request: _this3.requester,
|
|
1681
1681
|
reqData: reqData,
|