mirror of https://github.com/elk-zone/elk.git
18 lines
272 B
Vue
18 lines
272 B
Vue
|
<script setup lang="ts">
|
||
|
const { query } = useRoute()
|
||
|
|
||
|
onMounted(async () => {
|
||
|
const { login } = useAppStore()
|
||
|
await login(query as any)
|
||
|
await nextTick()
|
||
|
await nextTick()
|
||
|
location.pathname = '/'
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
Login...
|
||
|
</div>
|
||
|
</template>
|