feat:增加后端接口

This commit is contained in:
2025-06-24 23:34:00 +08:00
parent 69c0bfa4c7
commit 71c107f2e5
17 changed files with 141 additions and 191 deletions

View File

@@ -20,7 +20,10 @@ const calendarRef = ref()
const foodStore = useFoodStore()
const appStore = useAppStore()
onMounted(() => {
onMounted(async () => {
foodStore.queryDateType = 'month'
await foodStore.refreshInfo()
const { month } = foodStore.queryRecord
calendarRef.value.move(new Date(month))
})