feat:增加登录模块
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user