添加登录功能

This commit is contained in:
2025-02-28 16:20:58 +08:00
parent 81706fc48d
commit 28abe1b429
13 changed files with 181 additions and 14 deletions

4
src/store/user.ts Normal file
View File

@@ -0,0 +1,4 @@
import { computed, ref } from "vue"
export const username = ref("")
export const authed = computed(() => !!username.value)