添加登录功能
This commit is contained in:
4
src/store/user.ts
Normal file
4
src/store/user.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import { computed, ref } from "vue"
|
||||
|
||||
export const username = ref("")
|
||||
export const authed = computed(() => !!username.value)
|
||||
Reference in New Issue
Block a user