Commit d566a1c9 authored by aiduck's avatar aiduck

测试版本

parent beca18c1
{ {
"name": "@tuia/rip", "name": "@tuia/rip",
"version": "1.2.0", "version": "1.2.1-beta",
"description": "Tools for user behavior recording and playback based on rrweb", "description": "Tools for user behavior recording and playback based on rrweb",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
......
...@@ -44,7 +44,7 @@ class Monitor { ...@@ -44,7 +44,7 @@ class Monitor {
} }
setInterval(() => { setInterval(() => {
if (isBlocking(fpsList, 30, 8)) { if (isBlocking(fpsList, 30, 8)) {
this.stop(); // this.stop();
} }
}, 10000); }, 10000);
} }
...@@ -53,7 +53,7 @@ class Monitor { ...@@ -53,7 +53,7 @@ class Monitor {
let protocol = document.location.protocol; let protocol = document.location.protocol;
let realHost = window.location.host; let realHost = window.location.host;
if (!system || !userIdentifier || host.length > 0) { if (!system || !userIdentifier || host.length > 0) {
console.error("system,userIdentifier,host是必传的"); console.log("system,userIdentifier,host是必传的");
} }
if (host.includes(realHost)) { if (host.includes(realHost)) {
if (!this.initialized) { if (!this.initialized) {
...@@ -84,7 +84,7 @@ class Monitor { ...@@ -84,7 +84,7 @@ class Monitor {
} }
}; };
} else { } else {
console.error("当前的系统并不是线上环境,不做特殊录制"); 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