摘要: 利用popstate事件和pushState方法,popstate是html5新增的一个事件,它会在浏览器历史发生变化时触发 // 跳转指定URL const toUrl = url => { window.history.pushState({target: ''Final}, '', windo 阅读全文
posted @ 2021-01-07 17:40 fanmengfei 阅读(728) 评论(0) 推荐(0) 编辑