@freelog/tools-lib 0.1.86 → 0.1.87

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.
@@ -1426,20 +1426,20 @@ function request(_x, _x2) {
1426
1426
 
1427
1427
  function _request() {
1428
1428
  _request = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(config, _temp) {
1429
- var _ref, _ref$noRedirect, noRedirect, result;
1429
+ var _ref, _ref$noRedirect, noRedirect, _ref$noErrorAlert, noErrorAlert, result;
1430
1430
 
1431
1431
  return runtime_1.wrap(function _callee$(_context) {
1432
1432
  while (1) {
1433
1433
  switch (_context.prev = _context.next) {
1434
1434
  case 0:
1435
- _ref = _temp === void 0 ? {} : _temp, _ref$noRedirect = _ref.noRedirect, noRedirect = _ref$noRedirect === void 0 ? false : _ref$noRedirect;
1435
+ _ref = _temp === void 0 ? {} : _temp, _ref$noRedirect = _ref.noRedirect, noRedirect = _ref$noRedirect === void 0 ? false : _ref$noRedirect, _ref$noErrorAlert = _ref.noErrorAlert, noErrorAlert = _ref$noErrorAlert === void 0 ? false : _ref$noErrorAlert;
1436
1436
  _context.next = 3;
1437
1437
  return axios.request(config);
1438
1438
 
1439
1439
  case 3:
1440
1440
  result = _context.sent;
1441
1441
 
1442
- if (!((result.errCode === 30 || result.errcode === 30) && !noRedirect)) {
1442
+ if (!((result.errCode === 30 || result.errCode === 30) && !noRedirect)) {
1443
1443
  _context.next = 6;
1444
1444
  break;
1445
1445
  }
@@ -1449,9 +1449,10 @@ function _request() {
1449
1449
  })));
1450
1450
 
1451
1451
  case 6:
1452
+
1452
1453
  return _context.abrupt("return", result);
1453
1454
 
1454
- case 7:
1455
+ case 8:
1455
1456
  case "end":
1456
1457
  return _context.stop();
1457
1458
  }