js离开页面时的提示 onbeforeunload事件 window.onbeforeunload = function(event) { window.onbeforeunload 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交