when user click register in landing show form register in login page
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
VITE_LANDING_APP_URL=/landing/
|
||||||
@@ -28,7 +28,8 @@ export function useLoginPage() {
|
|||||||
provide(LOGIN_PAGE_CONTEXT_KEY, context)
|
provide(LOGIN_PAGE_CONTEXT_KEY, context)
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (router.currentRoute.value.query.id) {
|
const query = router.currentRoute.value.query
|
||||||
|
if (query.id || query.register === 'true') {
|
||||||
context.enterType = true
|
context.enterType = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user