19 lines
344 B
TypeScript
19 lines
344 B
TypeScript
import { defineStore } from 'pinia'
|
|
import type { IProfile } from '@/utils/profile'
|
|
|
|
export const useProfileStore = defineStore('profile', {
|
|
state: () => ({
|
|
showProfilePopup: false,
|
|
profileForm: {
|
|
gender: '',
|
|
height: 0,
|
|
name: '',
|
|
weight: 0,
|
|
} as IProfile,
|
|
isRefresh: false,
|
|
}),
|
|
actions: {
|
|
|
|
},
|
|
})
|