@cc-component/cc-core 1.3.6 → 1.3.7

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.
@@ -198,7 +198,7 @@ export class HttpManager {
198
198
  resolve(ret);
199
199
  }
200
200
  xhr.onloadend = (ev: ProgressEvent) => {
201
- if (xhr.status == 500) {
201
+ if (xhr.status == 500 || xhr.status > 500) {
202
202
  urls.delete(key);
203
203
 
204
204
  ret.isSucc = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cc-component/cc-core",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "engine": ">=3.8.6",
5
5
  "description": "系统组件添加常用扩展方法",
6
6
  "main": "index.ts",