Files
frontend-uniapp/src/App.vue
T
2025-01-20 08:01:53 +08:00

11 lines
190 B
Vue

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