Iview paging component, click the button in the list on the second page to enter the sub-component. When you come back from the sub-component, it shows that it is the first page, not the second page that I clicked in.

when using the iview paging component, I click the button in the list on the second page to enter the child component, and then return to the parent component from the child component, which displays the list on the first page. I want to go back to the same page number I clicked before.

how to solve it? Change the route? When I click on paging, url is unchanged

Mar.06,2021
Menu