Commit 6c947e5d authored by fanxuehui's avatar fanxuehui

fix:

parent 0ea00e76
......@@ -21,6 +21,7 @@ class Monitor {
log,
},
});
this.initialized = true;
this.reset();
this.record();
} else {
......@@ -53,6 +54,7 @@ class Monitor {
if (this.listenedRoute) return;
let timer = null;
let preHash = "";
this.listenedRoute = true;
window.addEventListener("hashchange", () => {
// 忽略hash后的query
let hash = getPureHash(location.hash);
......
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