uniapp-request-sdk 1.3.8 → 1.3.9
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.
- package/dist/index.esm.js +2 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -135,7 +135,8 @@ var UniRequest = /*#__PURE__*/function () {
|
|
|
135
135
|
(_this3.getTokenFun ? _this3.getTokenFun() : getToken(_this3.tokenEventName)).then(function (token) {
|
|
136
136
|
_this3.token = token;
|
|
137
137
|
requestedToken = true;
|
|
138
|
-
|
|
138
|
+
/** 获取token应该立马请求,不需要延迟 */
|
|
139
|
+
retryFucntion();
|
|
139
140
|
})["catch"](function () {
|
|
140
141
|
if (_this3.maxRetryCount > retryCount) {
|
|
141
142
|
delayRetryFcuntion();
|