原因: 子窗口没有加载完成
解决方法:
var OpenWindow = window.open("${ctx}/modules/home/serviceIndex");
OpenWindow.onload = function() {var open = OpenWindow.document.getElementById("iframeHeight");
open.src = "${ctx}/modules/partyService/hdxq?id="+id;
}
地址:https://www.zhihu.com/question/21115669