session过期后跳转到登录页时跳出iframe框架

$(function(){
    if (window != top) {
        top.location.href = location.href;
    }
});
posted @ 2020-05-15 10:15  MarkLogZhu  阅读(177)  评论(0编辑  收藏  举报