iframe嵌套多层,
window.location.href 当前窗口
window.parent.location.href 当前窗口的父级窗口
window.top.location.href 顶层窗口
iframe嵌套多层,
window.location.href 当前窗口
window.parent.location.href 当前窗口的父级窗口
window.top.location.href 顶层窗口
转载于:https://www.cnblogs.com/gaidalou/p/7228171.html