How to route back to same page which I am currently at?

Viewed 16

I have a dashboard with with lot of data.I have used pagination, I am showing only 10 records on a single page. So now if I go to the 4th page and open that record, the detail view of that record opens. It have a back button with v-on function as

<div>
 <a v-on:click="$router.go(-1)"/>
 <span>Back</span>
</div>

so when I click on it, its routing me to start of the page with pagination value resetting to 1. I want to navigate to that particular page with same pagination number. Is there any way I can achieve it?

0 Answers
Related