elk/pages/login/callback.vue

23 lines
323 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-15 15:48:23 +00:00
const { query } = useRoute()
onMounted(async () => {
2022-11-22 23:08:36 +00:00
await loginCallback(query as any)
2022-11-15 15:48:23 +00:00
await nextTick()
await nextTick()
location.pathname = '/'
})
</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>