enter image description here首先调用iframe加载内容:
/UI/Page/UserControll.aspx
一切都按预期工作。
提交数据后,我调用方法:
iframe.reload()
方法内的代码更改网址为:
/UI/Page/UI/Page/UserControll.aspx
它会抛出404错误
错误在行内的lib中:
window.frames[this.iframe.id].location.replace(url);this.beforeIFrameLoad(config);
你知道为什么在没有我控制的情况下更换网址吗?