@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/request.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.209",
3
+ "version": "0.0.210",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
package/src/request.js CHANGED
@@ -638,7 +638,7 @@ const isPathNeedRetryLogin = (path) => {
638
638
  };
639
639
 
640
640
  // 判断网关框架码是否需要重试
641
- const isGatewayCodeNeedRetry = gatewayCode => (gatewayCode > 0 && gatewayCode <= 999) || +gatewayCode === 5000;
641
+ const isGatewayCodeNeedRetry = gatewayCode => (gatewayCode > 1 && gatewayCode <= 999) || +gatewayCode === 5000;
642
642
 
643
643
  let refreshPromise;
644
644
  async function loginRefresh() {