feat:增加登录模块

This commit is contained in:
2025-06-25 23:48:43 +08:00
parent 37b2e588db
commit 99f828381d
21 changed files with 822 additions and 82 deletions

View File

@@ -1,7 +1,7 @@
import { defineStore } from 'pinia'
import type {
IRecipe, IMaterial, IStep,
IStats, IRecord, IMoment, IFoodSegment, IComment
IStats, IRecord, IMoment, IFoodSegment
} from '@/types/food'
import {
addRecipeApi,
@@ -78,7 +78,7 @@ export const useFoodStore = defineStore('food', {
content: ''
} as IMoment,
momentApiType: 'ADD' as IHandleApi,
imagePath: 'food',
imagePath: 'food-hub',
rateColorList: ['#E2DEDC', '#F7BA2A', '#009FA8'],
pageInfo: {
currentPage: 1,
@@ -223,7 +223,7 @@ export const useFoodStore = defineStore('food', {
},
getEmptyRecord(): IRecord {
return {
person: 0,
person: '',
category: '',
date: '',
id: 0,