如何改变url并且页面不进行刷新? 1、location.hash(哈希方式) 控制台里面输入:location.hash=‘aaa’,则地址栏里会相应的变化,并且不会刷新页面 2、html5中 history的对象修改url,也不会刷新页面 history.pushState(对象参数,title参数,url)