Commit 12478d38 authored by aiduck's avatar aiduck

listenOnHash在init中调用

parent 0a5517c6
{
"name": "@tuia/rip",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tools for user behavior recording and playback based on rrweb",
"main": "dist/index.js",
"scripts": {
......
......@@ -28,6 +28,7 @@ class Monitor {
} else {
this.reset({ userIdentifier });
}
this.listenOnHash();
this.tracksWorker.onmessage = (event) => {
switch(event.data) {
case "resetRecord":
......
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