@tmsfe/tms-core 0.0.209 → 0.0.210
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/package.json +1 -1
- package/src/request.js +1 -1
package/package.json
CHANGED
package/src/request.js
CHANGED
|
@@ -638,7 +638,7 @@ const isPathNeedRetryLogin = (path) => {
|
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
// 判断网关框架码是否需要重试
|
|
641
|
-
const isGatewayCodeNeedRetry = gatewayCode => (gatewayCode >
|
|
641
|
+
const isGatewayCodeNeedRetry = gatewayCode => (gatewayCode > 1 && gatewayCode <= 999) || +gatewayCode === 5000;
|
|
642
642
|
|
|
643
643
|
let refreshPromise;
|
|
644
644
|
async function loginRefresh() {
|