ui: improve layout
This commit is contained in:
parent
df9ee293a7
commit
936488f51e
8 changed files with 30 additions and 19 deletions
22
pages/signin/callback.vue
Normal file
22
pages/signin/callback.vue
Normal file
|
@ -0,0 +1,22 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue