feat: 小程序登录

This commit is contained in:
maek_9090 committed 2024-11-21 22:38:29 +08:00
1 parent 5be3f23807
commit 72087516df
16 files changed
+693 -237

No files matched your search

+8 -1
View File
@@ -1,5 +1,12 @@
<script setup lang="ts">
onLaunch(() => {})
import { useAppStore } from '@/stores/app'
onLaunch(() => {
const authStore = useAppStore()
if (authStore.token === ' ') {
authStore.login()
}
})
</script>
<template>