遇到同样的问题?有没有大神遇到过怎么解决的?求支招
Dialog框架只对http,/,javascript:的请求是直接返回传入的URL地址,否则会拼接window.location.href地址,可以修改
this.URL.substr(0, 7) == "http://" || this.URL.substr(0, 8) == "https://" || this.URL.substr(0, 1) == "/" || this.URL.substr(0, 11) == "javascript:"
Dialog.prototype.displacePath = function () {
if (this.URL.substr(0, 7) == "http://" || this.URL.substr(0, 1) == "/" || this.URL.substr(0, 11) == "javascript:") {
return this.URL;
} else {
var thisPath = this.URL;
var locationPath = window.location.href;
locationPath = locationPath.substring(0, locationPath.lastIndexOf('/'));
while (thisPath.indexOf('../') >= 0) {
thisPath = thisPath.substring(3);
locationPath = locationPath.substring(0, locationPath.lastIndexOf('/'));
}
return locationPath + '/' + thisPath;
}
};
配置HTTPS的WEB路径位置不正确导致的,核对HTTP配置配置重新路径重新配置,重启服务器就可以了。
config配置可能出错了
光网GW
来自电脑网络类芝麻团 2018-02-27
配置HTTPS的WEB路径位置不正确导致的,核对HTTP配置配置重新路径重新配置,重启服务器就可以了。