排除frontjs的监控
This commit is contained in:
@@ -20,7 +20,7 @@ class Observer {
|
|||||||
error: item.response?.code != 0 ? item.response?.data : null,
|
error: item.response?.code != 0 ? item.response?.data : null,
|
||||||
device: navigator.userAgent
|
device: navigator.userAgent
|
||||||
}
|
}
|
||||||
if (!/(sockjs-node|hot-update|monitorApi)/.test(api.path)) {
|
if (!/(sockjs-node|hot-update|monitorApi|frontjs)/.test(api.path)) {
|
||||||
if (!!this.timer) {
|
if (!!this.timer) {
|
||||||
clearTimeout(this.timer)
|
clearTimeout(this.timer)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user