diff --git a/src/stores/userinfo-store.ts b/src/stores/userinfo-store.ts new file mode 100644 index 0000000..8936f01 --- /dev/null +++ b/src/stores/userinfo-store.ts @@ -0,0 +1,8 @@ +import {defineStore} from "pinia"; +import {ref} from "vue"; + +export const useUserinfoStore = defineStore('userinfo', ()=>{ + const token = ref('') + const username = ref('') + return { token, username } +}) \ No newline at end of file