From c8886bebd31e323d337273024223e4df8f0fc258 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 01 七月 2020 14:28:20 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/report/locMap.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/report/locMap.js b/src/main/webapp/static/js/report/locMap.js
index 75547c2..3831df2 100644
--- a/src/main/webapp/static/js/report/locMap.js
+++ b/src/main/webapp/static/js/report/locMap.js
@@ -7,7 +7,7 @@
function getLocTable(row){
$.ajax({
- url: "/report/viewLocMapList.action",
+ url: baseUrl+"/report/viewLocMapList.action",
headers: {'token': localStorage.getItem('token')},
data: {row: row},
method: 'POST',
@@ -18,7 +18,7 @@
var html = template(res.data);
$('#locMap').html(html);
} else if (res.code === 403) {
- top.location.href = "/";
+ top.location.href = baseUrl+"/";
} else {
layer.msg(res.msg)
}
--
Gitblit v1.9.1