From 2177e9dbf988188297b416dc78b0a4a587b0fdd7 Mon Sep 17 00:00:00 2001 From: wangyimeng <421132955@qq.com> Date: 星期六, 04 三月 2023 20:55:48 +0800 Subject: [PATCH] 修复查询历史录像无记录时报错问题 --- 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 5063ad4..fcd1c10 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