javascript - How to record the history of paging in vue
黄舟
黄舟 2017-05-18 11:02:21
0
1
442

LikesegmentfaultAfter clicking on the page here, it will return to the previous page.
For example, your URL is http:localhost:8080You 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?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
阿神

Then just add it in the route

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template