页面跳转之前执行了a事件 window.onbeforeunload = function () { localStorage.setItem('a', '1') } // 页面隐藏的时候执行了b事件 window.onpagehide = function ...
確定! 回上一頁