强制关闭当前窗口的js方法

window.opener=null;
window.open('','_self');
window.close();

猜你喜欢

转载自www.cnblogs.com/zhouchunDIY/p/9072719.html