1
0
mirror of synced 2025-12-12 01:18:00 +08:00

fixed bug about network tool

This commit is contained in:
lswang
2018-12-19 11:07:45 +08:00
committed by RedHoodSu
parent 940a53f634
commit 93e1c2e6fb

View File

@@ -98,6 +98,7 @@ export default class Network extends Tool {
if (this._origOpen) winXhrProto.open = this._origOpen
if (this._origSend) winXhrProto.send = this._origSend
if (this._origSetRequestHeader) winXhrProto.setRequestHeader = this._origSetRequestHeader
}
overrideFetch() {
if (!this._isFetchSupported) return