调整统计角度
This commit is contained in:
		| @@ -15,12 +15,12 @@ class Observer { | ||||
|       path: item.url, | ||||
|       url: location.href, | ||||
|       nodeProcess: process.env.NODE_ENV, | ||||
|       status: item.status, | ||||
|       status: item.response?.code || item.status, | ||||
|       code: item.response?.code, | ||||
|       error: item.response?.code != 0 ? item.response?.data : null, | ||||
|       device: navigator.userAgent | ||||
|     } | ||||
|     if (!/(sockjs-node|hot-update|monitorApi|frontjs)/.test(api.path)) { | ||||
|     if (!/(sockjs-node|hot-update|monitorApi|frontjs|apiForward)/.test(api.path)) { | ||||
|       if (!!this.timer) { | ||||
|         clearTimeout(this.timer) | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user