iframe重新加载损失正确查看资源的路径

时间:2017-11-10 10:01:37

标签: javascript .net iframe

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);

你知道为什么在没有我控制的情况下更换网址吗?

First call config

Second call config

0 个答案:

没有答案