提交 22685399 authored 作者: ling's avatar ling

round robin monitoring

上级 eb7c395f
...@@ -161,16 +161,19 @@ export default { ...@@ -161,16 +161,19 @@ export default {
}; };
}, },
mounted() { mounted() {
setTimeout(function () { this.timer = setInterval(function () {
ShareTrace.init({ if (ShareTrace) {
appkey: "a4a9e45dc76e096a", ShareTrace.init({
success: function () { appkey: "a4a9e45dc76e096a",
console.log("init success..."); success: function () {
}, console.log("init success...");
error: function (msg) { },
console.log(msg); error: function (msg) {
}, console.log(msg);
}); },
});
clearInterval(this.timer);
}
}, 1000); }, 1000);
const u = navigator.userAgent; const u = navigator.userAgent;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论