layui在窗口返回登录页面

$(function(){

if (top != window){

top.location.href = window.location.href;

} })

在登录页面添加

 

posted @ 2020-04-16 18:11  KeepSmiling_me  阅读(772)  评论(0)    收藏  举报