判断方法为:
//判断是否在iframe中 if(self!=top){ parent.window.location.replace(window.location.href); }
版权声明:本文为博主原创文章,未经博主允许不得转载。