摘要: 转载: https://www.jianshu.com/p/cf63a1fabc86 现实开发中,例如‘商品列表页’跳转‘商品详情页’,返回时,不重新加载刷新页面,并且滚动到原来的位置。 1.首先,先了解一下pushState、replaceState。 参数(params)功能说明 state 存 阅读全文
posted @ 2019-12-04 16:27 demoblog 阅读(1160) 评论(0) 推荐(0) 编辑