export interface UserState { userId: string; userName: string; userEmail: string; userAvatar: string; } export const useUserStore = defineStore('User', { state: (): UserState => ({ userId: '', userName: '李晨鑫', userEmail: '', userAvatar: '', }), });