While working with Vue, I encountered an issue when trying to pass parameters from one route to another. Here is what my target route looks like:
{
path: '/record-modification',
name: 'recordModification',
component: recordModification,
meta: { needAuthentication: true, needCaseId: true }
}
This is how I am sending data to the route:
this.$router.push({
name: 'recordModification',
params: {
recordIds,
datasources
}
});
However, on the target page, when I try to access this.$route.params, it returns an empty object. Can anyone provide insight into what mistake I might be making here?