feat: 增加个人信息模块

This commit is contained in:
2026-08-24 14:49:46 +08:00
parent 0d587ac241
commit 9f56624143
12 changed files with 267 additions and 126 deletions

18
src/store/profile.ts Normal file
View File

@@ -0,0 +1,18 @@
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: {
},
})