Commit c1721690 authored by aiduck's avatar aiduck

isExistBlackList

parent 5b111546
...@@ -75,7 +75,7 @@ class Monitor { ...@@ -75,7 +75,7 @@ class Monitor {
protocol, protocol,
}, },
}); });
if(isExistBlackList(path)) { if(this.isExistBlackList(path)) {
this.stop(); this.stop();
console.log('改页面不支持用户行为监控'); console.log('改页面不支持用户行为监控');
} else { } else {
...@@ -149,7 +149,7 @@ class Monitor { ...@@ -149,7 +149,7 @@ class Monitor {
window.addEventListener("hashchange", () => { window.addEventListener("hashchange", () => {
// 是否寻在和名单 // 是否寻在和名单
let hash = getPureHash(location.hash); let hash = getPureHash(location.hash);
if(isExistBlackList(hash)) { if(this.isExistBlackList(hash)) {
clearTimeout(timer); clearTimeout(timer);
this.stop(); this.stop();
console.log('改页面不支持用户行为监控'); 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