摘抄自MDN 文档,详见 history Api 文档
1
2
3
4
5history.back()
history.forward()
history.go()
history.pushState()
history.replaceState()
1 | let stateObj = { |
摘抄自MDN 文档,详见 history Api 文档
1
2
3
4
5history.back()
history.forward()
history.go()
history.pushState()
history.replaceState()
1 | let stateObj = { |