2022-11-15 15:48:23 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
const { query } = useRoute()
|
|
|
|
|
|
|
|
onMounted(async () => {
|
2022-11-17 21:32:03 +00:00
|
|
|
const { login } = useClientState()
|
2022-11-15 15:48:23 +00:00
|
|
|
await login(query as any)
|
|
|
|
await nextTick()
|
|
|
|
await nextTick()
|
|
|
|
location.pathname = '/'
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
Login...
|
|
|
|
</div>
|
|
|
|
</template>
|