[Vuejs]-Vue router dynamic props

0👍

You use the combination of Function mode and Object mode in the wrong way.
Rewrite props like this:

props: { 
  default: (route) => ({
    selectedReceptionIds: route.params.selectedReceptionIds, 
    location: route.params.location 
    }),
  menu: {
    title: 'Recepciones multiples',
    titleActi: 'Entradas multiples'
  } 
}

Leave a comment