1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-13 20:39:58 +00:00
elk/pages/signin/callback.vue

22 lines
299 B
Vue
Raw Normal View History

2022-11-15 15:48:23 +00:00
<script setup lang="ts">
2022-11-21 10:27:28 +00:00
definePageMeta({
layout: 'none',
})
2022-11-25 17:02:12 +00:00
const router = useRouter()
2022-11-15 15:48:23 +00:00
const { query } = useRoute()
onMounted(async () => {
2022-11-23 03:48:01 +00:00
await loginTo(query as any)
2022-11-25 17:02:12 +00:00
router.push('/')
2022-11-15 15:48:23 +00:00
})
</script>
<template>
2022-11-21 10:27:28 +00:00
<div h-full flex>
<div ma>
Login...
</div>
2022-11-15 15:48:23 +00:00
</div>
</template>