Commit c1721690 authored by aiduck's avatar aiduck

isExistBlackList

parent 5b111546
......@@ -75,7 +75,7 @@ class Monitor {
protocol,
},
});
if(isExistBlackList(path)) {
if(this.isExistBlackList(path)) {
this.stop();
console.log('改页面不支持用户行为监控');
} else {
......@@ -149,7 +149,7 @@ class Monitor {
window.addEventListener("hashchange", () => {
// 是否寻在和名单
let hash = getPureHash(location.hash);
if(isExistBlackList(hash)) {
if(this.isExistBlackList(hash)) {
clearTimeout(timer);
this.stop();
console.log('改页面不支持用户行为监控');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment