历史管理 onhashchange :改变hash值来管理 history pushState 三个参数:数据 标题 (都没实现) 地址(可选) popstate事件 读取数据 event.state 注意:网址是虚假的,需要在服务器指定对应 页面,不然刷新找不到页面 赞微海报分享
近期评论