Likesegmentfault
After clicking on the page here, it will return to the previous page.
For example, your URL is http:localhost:8080
You click on page 2 When using history.pushState
the page becomes http:localhost:8080/page=1
but there will be problems when clicking back or previous session because I don’t have How to set the path with page=1 in the routing?
Then just add it in the route