From ea3f899593f47c1c6fe708495af0a091a3c73d5f Mon Sep 17 00:00:00 2001
From: Kairlec <sunfokairlec@gmail.com>
Date: 星期日, 23 四月 2023 17:08:53 +0800
Subject: [PATCH] fix `Notification is not defined` on Android Webview or under ios16.4

---
 web_src/src/components/dialog/queryTrace.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/dialog/queryTrace.vue b/web_src/src/components/dialog/queryTrace.vue
index fcd1c10..5063ad4 100644
--- a/web_src/src/components/dialog/queryTrace.vue
+++ b/web_src/src/components/dialog/queryTrace.vue
@@ -72,7 +72,7 @@
     onSubmit: function () {
       console.log("onSubmit");
       this.isLoging = true;
-      let url = `./api/position/history/${this.channel.deviceId}?start=${this.searchFrom}&end=${this.searchTo}`;
+      let url = `/api/position/history/${this.channel.deviceId}?start=${this.searchFrom}&end=${this.searchTo}`;
       if (this.channel.channelId) {
         url+="&channelId=${this.channel.channelId}"
       }

--
Gitblit v1.8.0