surl-front/src/stores/userinfo-store.ts
2024-07-30 10:10:14 +08:00

8 lines
211 B
TypeScript

import {defineStore} from "pinia";
import {ref} from "vue";
export const useUserinfoStore = defineStore('userinfo', ()=>{
const token = ref('')
const username = ref('')
return { token, username }
})