摘要:
场景:今天在项目中遇到一种场景,需要禁用浏览器返回按钮,防止用户误操作。考虑试用一下history的新伙伴,history.pushState(),popstate事件 尝试:在各大网友的谋略中,用的最多的版本 history.pushState(null, null, document.URL); 阅读全文
posted @ 2017-03-09 11:45
evenBoy
阅读(373)
评论(0)
推荐(0)
浙公网安备 33010602011771号