feat: 修改默认超时时间

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2021-07-14 15:46:32 +08:00
parent ea1dd6f9ae
commit 39612a1ff3
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ type HttpHeader = { [key: string]: string }
const executor = Executors.newCachedThreadPool()
export class XMLHttpRequest {
private _timeout: number = 5000;
private _timeout: number = 120000;
private _responseType: ResponseType = 'text';
private _withCredentials: boolean