You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using object of currentRoute in preFetch will get undefined, need to use currentRoute.value to access object in currentRoute, but currentRoute don't have 'value' in typescript.
To Reproduce
Steps to reproduce the behavior:
Create quasar app in ssr mode and make preFetch: true in quasar.conf.js
add state test and mutations 'setTest' in vuex
use preFetch in vue file and call mutations setTest to set currentRoute.params to state test
console log vuex test onMounted
Expected behavior
don't need to add .value and things in currentRoute should not be undefined
Platform (please complete the following information):
Quasar Version:
@quasar/app Version:
Quasar mode:
SPA
SSR
PWA
Electron
Cordova
Capacitor
BEX
Tested on:
SPA
SSR
PWA
Electron
Cordova
Capacitor
BEX
The text was updated successfully, but these errors were encountered:
Describe the bug
When using object of
currentRoute
inpreFetch
will get undefined, need to usecurrentRoute.value
to access object incurrentRoute
, butcurrentRoute
don't have 'value' in typescript.To Reproduce
Steps to reproduce the behavior:
preFetch: true
in quasar.conf.jstest
and mutations 'setTest' in vuexpreFetch
in vue file and call mutationssetTest
to setcurrentRoute.params
to statetest
test
onMountedExpected behavior
don't need to add
.value
and things incurrentRoute
should not be undefinedPlatform (please complete the following information):
Quasar Version:
@quasar/app Version:
Quasar mode:
Tested on:
The text was updated successfully, but these errors were encountered: