feat:增加设置模块

This commit is contained in:
2025-06-23 22:42:01 +08:00
parent e09aed87d1
commit 4956c1822e
14 changed files with 184 additions and 8 deletions

View File

@@ -65,8 +65,9 @@
<script setup lang="ts">
import { Edit, MoreFilled, DeleteFilled } from '@element-plus/icons-vue'
import { useFoodStore } from '@/store/food'
import { defineProps, onMounted, PropType, reactive } from 'vue'
import { IFoodRecipe, IFoodRecord } from '@/types/food.ts'
import { defineProps, onMounted, reactive } from 'vue'
import type { PropType } from 'vue'
import type { IFoodRecipe, IFoodRecord } from '@/types/food.ts'
import { useRouter } from 'vue-router'
import { formatDate } from 'vue3-common/utils/dateUtil'
import { deepCopyObject } from 'vue3-common/utils/dataUtil'

View File

@@ -29,7 +29,7 @@ import { useFoodStore } from '@/store/food.ts'
import { useRouter } from 'vue-router'
import { useAppStore } from '@/store/app.ts'
import { formatChineseDate } from 'vue3-common/utils/dateUtil'
import { IFoodRecord } from '@/types/food.ts'
import type { IFoodRecord } from '@/types/food.ts'
const foodStore = useFoodStore()
const appStore = useAppStore()