在框架主页面增加页面初始化加载js方法:
function resetwindow(){
if(top.location != self.location){
top.location.href = self.location.href;
return
}
}
function resetwindow(){
if(top.location != self.location){
top.location.href = self.location.href;
return
}
}