Browse Source

remove fetch `500` intercept

xuxin 1 year ago
parent
commit
d2b21f5f92
2 changed files with 0 additions and 4 deletions
  1. 0 0
      corejs/dist/core.umd.min.js
  2. 0 4
      corejs/src/builder.ts

File diff suppressed because it is too large
+ 0 - 0
corejs/dist/core.umd.min.js


+ 0 - 4
corejs/src/builder.ts

@@ -224,10 +224,6 @@ export class Builder {
 				document.location.replace(r.url);
 				return {}
 			}
-			if (r.status >= 400) {
-				alert(r.status + ": " + r.statusText || "Unknown Error")
-				return {}
-			}
 
 			(this._form as any).dirty = false
 			return r.json();

Some files were not shown because too many files changed in this diff