I currently have two pages - an add page and an edit page. I am looking to transfer data from the edit page to the add page. When the save button is clicked in the edit page
, it should redirect the user back to the add page
with a URL of
/test/admin/testing/add?visit_status=39
. How can I fetch this data using an ID from my edit page to the add page?
edit.vue
this.$router.push({path: '/test/admin/testing/add', query:{visit_status:this.$route.params.id}})