Problem in preFetch information، when we change the parameter on the page #11781
-
|
I use Quasar V2 for may app. This is my route for getting information based on city parameter: ` preFetch({store, currentRoute, previousRoute, redirect, ssrContext}) { }` and in setup : ` |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Given your code, you are registering the module each time the preFetch() is run. Which can happen multiple times if user navigates back and forth to that route. Guard the registerModule call. |
Beta Was this translation helpful? Give feedback.
Given your code, you are registering the module each time the preFetch() is run. Which can happen multiple times if user navigates back and forth to that route. Guard the registerModule call.