when user click register in landing show form register in login page

This commit is contained in:
2026-08-19 11:24:55 +03:30
parent 42aef88064
commit b1cf0639f5
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
VITE_LANDING_APP_URL=/landing/
+1
View File
@@ -0,0 +1 @@
VITE_LANDING_APP_URL=/landing/
+2 -1
View File
@@ -28,7 +28,8 @@ export function useLoginPage() {
provide(LOGIN_PAGE_CONTEXT_KEY, context)
onMounted(() => {
if (router.currentRoute.value.query.id) {
const query = router.currentRoute.value.query
if (query.id || query.register === 'true') {
context.enterType = true
}
})