@panpanzhao/component-ui 0.0.16 → 0.0.17

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.
@@ -3030,15 +3030,6 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
3030
3030
  }, {
3031
3031
  button: button
3032
3032
  });
3033
- if (typeof _this3.on.success === "function") {
3034
- _this3.on.success.call(_this3, {
3035
- request: _this3.requester,
3036
- reqData: reqData,
3037
- expandData: _this3.expandModel
3038
- }, {
3039
- button: button
3040
- });
3041
- }
3042
3033
  return false;
3043
3034
  }
3044
3035
  button.loading = true;
@@ -3057,14 +3048,6 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
3057
3048
  resData: res,
3058
3049
  expandData: _this3.expandModel
3059
3050
  });
3060
- if (typeof _this3.on.success === "function") {
3061
- _this3.on.success.call(_this3, {
3062
- request: _this3.requester,
3063
- reqData: reqData,
3064
- resData: res,
3065
- expandData: _this3.expandModel
3066
- });
3067
- }
3068
3051
  }).catch(function (error) {
3069
3052
  button.loading = false;
3070
3053
  _this3.$emit("error", {
@@ -3073,14 +3056,6 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
3073
3056
  resError: error,
3074
3057
  expandData: _this3.expandModel
3075
3058
  });
3076
- if (typeof _this3.on.error === "function") {
3077
- _this3.on.error.call(_this3, {
3078
- request: _this3.requester,
3079
- reqData: reqData,
3080
- resError: error,
3081
- expandData: _this3.expandModel
3082
- });
3083
- }
3084
3059
  });
3085
3060
  });
3086
3061
  },
@@ -1610,15 +1610,6 @@ var external_lodash_ = __webpack_require__(2);
1610
1610
  }, {
1611
1611
  button: button
1612
1612
  });
1613
- if (typeof _this3.on.success === "function") {
1614
- _this3.on.success.call(_this3, {
1615
- request: _this3.requester,
1616
- reqData: reqData,
1617
- expandData: _this3.expandModel
1618
- }, {
1619
- button: button
1620
- });
1621
- }
1622
1613
  return false;
1623
1614
  }
1624
1615
  button.loading = true;
@@ -1637,14 +1628,6 @@ var external_lodash_ = __webpack_require__(2);
1637
1628
  resData: res,
1638
1629
  expandData: _this3.expandModel
1639
1630
  });
1640
- if (typeof _this3.on.success === "function") {
1641
- _this3.on.success.call(_this3, {
1642
- request: _this3.requester,
1643
- reqData: reqData,
1644
- resData: res,
1645
- expandData: _this3.expandModel
1646
- });
1647
- }
1648
1631
  }).catch(function (error) {
1649
1632
  button.loading = false;
1650
1633
  _this3.$emit("error", {
@@ -1653,14 +1636,6 @@ var external_lodash_ = __webpack_require__(2);
1653
1636
  resError: error,
1654
1637
  expandData: _this3.expandModel
1655
1638
  });
1656
- if (typeof _this3.on.error === "function") {
1657
- _this3.on.error.call(_this3, {
1658
- request: _this3.requester,
1659
- reqData: reqData,
1660
- resError: error,
1661
- expandData: _this3.expandModel
1662
- });
1663
- }
1664
1639
  });
1665
1640
  });
1666
1641
  },
@@ -1165,15 +1165,6 @@ var external_lodash_ = __webpack_require__(2);
1165
1165
  }, {
1166
1166
  button: button
1167
1167
  });
1168
- if (typeof _this3.on.success === "function") {
1169
- _this3.on.success.call(_this3, {
1170
- request: _this3.requester,
1171
- reqData: reqData,
1172
- expandData: _this3.expandModel
1173
- }, {
1174
- button: button
1175
- });
1176
- }
1177
1168
  return false;
1178
1169
  }
1179
1170
  button.loading = true;
@@ -1192,14 +1183,6 @@ var external_lodash_ = __webpack_require__(2);
1192
1183
  resData: res,
1193
1184
  expandData: _this3.expandModel
1194
1185
  });
1195
- if (typeof _this3.on.success === "function") {
1196
- _this3.on.success.call(_this3, {
1197
- request: _this3.requester,
1198
- reqData: reqData,
1199
- resData: res,
1200
- expandData: _this3.expandModel
1201
- });
1202
- }
1203
1186
  }).catch(function (error) {
1204
1187
  button.loading = false;
1205
1188
  _this3.$emit("error", {
@@ -1208,14 +1191,6 @@ var external_lodash_ = __webpack_require__(2);
1208
1191
  resError: error,
1209
1192
  expandData: _this3.expandModel
1210
1193
  });
1211
- if (typeof _this3.on.error === "function") {
1212
- _this3.on.error.call(_this3, {
1213
- request: _this3.requester,
1214
- reqData: reqData,
1215
- resError: error,
1216
- expandData: _this3.expandModel
1217
- });
1218
- }
1219
1194
  });
1220
1195
  });
1221
1196
  },
@@ -1610,15 +1610,6 @@ var external_lodash_ = __webpack_require__(2);
1610
1610
  }, {
1611
1611
  button: button
1612
1612
  });
1613
- if (typeof _this3.on.success === "function") {
1614
- _this3.on.success.call(_this3, {
1615
- request: _this3.requester,
1616
- reqData: reqData,
1617
- expandData: _this3.expandModel
1618
- }, {
1619
- button: button
1620
- });
1621
- }
1622
1613
  return false;
1623
1614
  }
1624
1615
  button.loading = true;
@@ -1637,14 +1628,6 @@ var external_lodash_ = __webpack_require__(2);
1637
1628
  resData: res,
1638
1629
  expandData: _this3.expandModel
1639
1630
  });
1640
- if (typeof _this3.on.success === "function") {
1641
- _this3.on.success.call(_this3, {
1642
- request: _this3.requester,
1643
- reqData: reqData,
1644
- resData: res,
1645
- expandData: _this3.expandModel
1646
- });
1647
- }
1648
1631
  }).catch(function (error) {
1649
1632
  button.loading = false;
1650
1633
  _this3.$emit("error", {
@@ -1653,14 +1636,6 @@ var external_lodash_ = __webpack_require__(2);
1653
1636
  resError: error,
1654
1637
  expandData: _this3.expandModel
1655
1638
  });
1656
- if (typeof _this3.on.error === "function") {
1657
- _this3.on.error.call(_this3, {
1658
- request: _this3.requester,
1659
- reqData: reqData,
1660
- resError: error,
1661
- expandData: _this3.expandModel
1662
- });
1663
- }
1664
1639
  });
1665
1640
  });
1666
1641
  },