After createSubscription() calls checkMemberStatus(), isAuthenticated
flips to true and the <template v-else> branch unmounts, taking the
Teleport (and its overlay) with it. The authenticated 'You're already a
member' UI then showed for the 3-second pre-redirect delay, producing a
visible flash before navigateTo('/welcome') fired.
Teleport now lives at the root div alongside the v-if/v-else branches,
so the overlay stays mounted through the auth state transition and
covers the page continuously until the redirect.
|
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| composables | ||
| config | ||
| layouts | ||
| middleware | ||
| pages | ||
| plugins | ||
| utils | ||
| app.config.ts | ||
| app.vue | ||