uniapp-request-sdk 1.1.4 → 1.1.5

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.
@@ -133,7 +133,7 @@
133
133
  requestedToken = true;
134
134
  delayRetryFcuntion();
135
135
  })["catch"](function () {
136
- if (_this3.maxRetryCount >= retryCount) {
136
+ if (_this3.maxRetryCount > retryCount) {
137
137
  delayRetryFcuntion();
138
138
  } else {
139
139
  _this3.rejectHandler(rej, resData);
@@ -144,14 +144,14 @@
144
144
  _this3.rejectHandler(rej, resData);
145
145
  // #endif
146
146
  } else {
147
- if (_this3.maxRetryCount >= retryCount) {
147
+ if (_this3.maxRetryCount > retryCount) {
148
148
  delayRetryFcuntion();
149
149
  } else {
150
150
  _this3.rejectHandler(rej, resData);
151
151
  }
152
152
  }
153
153
  })["catch"](function (rejData) {
154
- if (_this3.maxRetryCount >= retryCount) {
154
+ if (_this3.maxRetryCount > retryCount) {
155
155
  delayRetryFcuntion();
156
156
  } else {
157
157
  _this3.rejectHandler(rej, rejData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uniapp-request-sdk",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "用于uniapp小程序的请求库的sdk",
5
5
  "main": "dist/index.umd.mini.js",
6
6
  "typings": "dist/index.d.ts",