政企超链接开始集成

This commit is contained in:
hoteas
2022-03-03 21:23:57 +08:00
parent e4ef9230c2
commit cac0214271
97 changed files with 379 additions and 117 deletions
+4 -5
View File
@@ -32,10 +32,9 @@ var H={
}
},
url:"http://"+window.location.host+"/",
methodUrl:"http://"+window.location.host+"/",//修改
wsUrl:"ws://"+window.location.host+"/",
url:location.protocol+"//"+window.location.host+"/",
methodUrl:location.protocol+"//"+window.location.host+"/",//修改
wsUrl:"wss://"+window.location.host+"/",
methodType:'json',
ctrType:"html",
//获取load的data
@@ -171,7 +170,7 @@ var H={
}
// url= url+"."+type;
}
if(url.indexOf('http://')<0){
if(url.indexOf('http')<0){
if(url.indexOf('.'+H.ctrType)>0)
url= H.url+url;
else