src/main/webapp/static/js/common.js
@@ -1,5 +1,9 @@ // var baseUrl = "http://127.0.0.1:8080/asrs"; var baseUrl = "/asrs"; // 生产 // var baseUrl = "/asrs"; // 测试 var baseUrl = ""; // 详情窗口-高度 var detailHeight = '80%'; // 详情窗口-宽度 @@ -76,7 +80,7 @@ (child?parent:window).$('.'+res.data[i].code).css("display", "inline-block"); } } else if (res.code === 403){ top.location.href = baseUrl; top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) }