浏览代码

Merge branch 'feature/test' of duanxiaoduan/tmr-admin into release/v1.0.2

duanxiaoduan 1 年之前
父节点
当前提交
29cd57e64e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -15,7 +15,7 @@ var reg =  /(25[0-5]|2[0-4]\d|[0-1]\d{2}|[1-9]?\d)\.(25[0-5]|2[0-4]\d|[0-1]\d{2}
 var browserUrl = window.location.hostname
 console.log("========url===",reg.test(browserUrl))
 if (reg.test(browserUrl)){
-  URL = window.location.protocol +"//"+ browserUrl + ":8082"+URL
+  URL = window.location.protocol +"//"+ browserUrl + ":8082"
 }
 
 Cookies.set('url',URL)