elk/pages/signin/callback.vue
2022-11-26 01:02:41 +08:00

22 lines
299 B
Vue

<script setup lang="ts">
definePageMeta({
layout: 'none',
})
const router = useRouter()
const { query } = useRoute()
onMounted(async () => {
await loginTo(query as any)
router.push('/')
})
</script>
<template>
<div h-full flex>
<div ma>
Login...
</div>
</div>
</template>