ps-toolkit-ui 1.17.53 → 1.17.55

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.
@@ -1852,7 +1852,6 @@
1852
1852
  data: data,
1853
1853
  headers: token == null ? {} : { Authorization: token }
1854
1854
  };
1855
- console.log('requestrequest', request);
1856
1855
  if (request != null) {
1857
1856
  request.abort();
1858
1857
  }
@@ -1869,6 +1868,7 @@
1869
1868
  }
1870
1869
  fail(response);
1871
1870
  });
1871
+ return request;
1872
1872
  };
1873
1873
  return HelperClass;
1874
1874
  }());
@@ -2016,7 +2016,9 @@
2016
2016
  if (!_this.environment.production) {
2017
2017
  console.log('%c' + exports.Method[method].toString() + ' : ' + url, 'background: #8c413a; color: white', response);
2018
2018
  }
2019
- fail(response);
2019
+ if (response.statusText !== 'abort') {
2020
+ fail(response);
2021
+ }
2020
2022
  });
2021
2023
  };
2022
2024
  return RequestClass;
@@ -9216,7 +9218,7 @@
9216
9218
  }
9217
9219
  btn.loading = true;
9218
9220
  }
9219
- HelperClass.getClient(this.environment, this.request, this.url, this.method, this.searchData(), function (res) {
9221
+ this.request = HelperClass.getClient(this.environment, this.request, this.url, this.method, this.searchData(), function (res) {
9220
9222
  if (res.status === exports.ResultStatusEnum.Success) {
9221
9223
  if (_this.vertical) {
9222
9224
  var c_1 = {};