Closed MuyianKing closed 3 weeks ago
先使用 window.history.replaceState修改当前的历史记录条目,再用window.location.href改变地址,这时候返回上一页,地址栏已经是replaceState的路由,但是页面显示的还是replaceState前的界面
先使用 window.history.replaceState修改当前的历史记录条目,再用window.location.href改变地址,这时候返回上一页,地址栏已经是replaceState的路由,但是页面显示的还是replaceState前的界面