mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00:00
24 lines
352 B
Vue
24 lines
352 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
layout: 'none',
|
|
})
|
|
|
|
const { query } = useRoute()
|
|
|
|
onMounted(async () => {
|
|
const { login } = useClientState()
|
|
await login(query as any)
|
|
await nextTick()
|
|
await nextTick()
|
|
location.pathname = '/'
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div h-full flex>
|
|
<div ma>
|
|
Login...
|
|
</div>
|
|
</div>
|
|
</template>
|