Disable log collapse for objects

This commit is contained in:
redhoodsu
2019-06-17 16:31:12 +08:00
parent d82f5ba82d
commit 4dafbe50cb
2 changed files with 6 additions and 2 deletions

View File

@@ -98,7 +98,9 @@ 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
if (this._origSetRequestHeader) {
winXhrProto.setRequestHeader = this._origSetRequestHeader
}
}
overrideFetch() {
if (!this._isFetchSupported) return