不注意看到的,保存以备后用
['pushState','popstate','replaceState'].forEach(function(item,index){
window.addEventListener(item, fun);
})
不注意看到的,保存以备后用
['pushState','popstate','replaceState'].forEach(function(item,index){
window.addEventListener(item, fun);
})
相关文章: