政企超链接开始集成
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user