diff --git a/public/index.html b/public/index.html
index 6faf9027..d81c3251 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,19 +1,19 @@
-
-
-
-
-
- web端应用库-展示页面
-
-
-
-
-
-
-
-
+
+
+
+
+
+ web端应用库-展示页面
+
+
+
+
+
+
+
+
diff --git a/ui/lib/js/observer.js b/ui/lib/js/observer.js
index b90e9bd7..8b58fd63 100644
--- a/ui/lib/js/observer.js
+++ b/ui/lib/js/observer.js
@@ -33,7 +33,7 @@ class Observer {
if (res?.code == 0) {
this.pending = []
}
- })
+ }).catch(() => this.cancelOB = true)
}, 5000)
}
}
@@ -51,7 +51,7 @@ class Observer {
this.addEventListener("readystatechange", function () {
if (this.readyState === 4) {
// 请求后拦截
- Observer.saveLog({
+ !this.cancelOB && Observer.saveLog({
url: args[1],
status: this.status,
method: args[0],