Files
webpreview/src/store/user.ts
2025-02-28 16:20:58 +08:00

5 lines
124 B
TypeScript

import { computed, ref } from "vue"
export const username = ref("")
export const authed = computed(() => !!username.value)