2022-06-12 12:51:52 +08:00

14 lines
328 B
TypeScript

import { defineStore } from 'pinia';
import { getCache, setCache } from '@/utils/catch';
import { TOKEN_KEY } from '@/enums/cacheEnum';
import { login } from '@/services/api/user';
interface UserState {}
export const useUserStore = defineStore({
id: 'user',
state: (): UserState => ({}),
getters: {},
actions: {},
});