elk/pages/signin/callback.vue
2022-11-23 10:53:22 +08:00

23 lines
323 B
Vue

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