From dbf724ce068489d0b3d20b4f8333a2ab372bc48b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 22 六月 2020 15:51:05 +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