js 使某个页面不允许在子iframe中打开的解决办法 在页面中添加如下js代码<script> if (window.parent !== window.self) { window.parent.location.reload(); }</script>