feat: 增加存储详情功能
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
import { defineStore } from 'pinia'
|
||||
import type { IProfile } from '@/utils/profile'
|
||||
import type { IProfile } from "@/type/profile";
|
||||
import type {IStats} from "@/type";
|
||||
|
||||
export const useProfileStore = defineStore('profile', {
|
||||
state: () => ({
|
||||
showProfilePopup: false,
|
||||
showStoragePopup: false,
|
||||
profileForm: {
|
||||
gender: '',
|
||||
height: 0,
|
||||
name: '',
|
||||
weight: 0,
|
||||
} as IProfile,
|
||||
storageStats: [] as IStats[],
|
||||
storageTotal: 0,
|
||||
isRefresh: false,
|
||||
}),
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user