11 lines
190 B
Vue
11 lines
190 B
Vue
<script setup lang="ts">
|
|
import {useAppStore} from '@/stores/app'
|
|
|
|
onLaunch(() => {
|
|
const authStore = useAppStore()
|
|
if (authStore.token === ' ') {
|
|
authStore.login()
|
|
}
|
|
})
|
|
</script>
|