Forcing component reload with different parameters



  • If I have a side menu with two links to the same component but with different parameters like so:

    <q-side-link item :to="{name: ‘search’, params: { title: ‘Search A’, param1: ‘a’}}"></q-side-link>
    and
    <q-side-link item :to="{name: ‘search’, params: { title: ‘Search B’, param1: ‘b’}}"></q-side-link>

    If I click on the first link, the component loads. If I now click on the second link, nothing happens because the component is loaded already.

    What can I do to reload it with the new parameters?



  • Am I the only one having this problem?


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.