feat:更新上传文件组件

This commit is contained in:
2026-03-15 21:52:49 +08:00
parent d7d167f3e2
commit 1fb76fc220
20 changed files with 119 additions and 228 deletions

View File

@@ -13,7 +13,6 @@ import type { IDialog } from 'vue3-common/types'
import { IHandleApi } from 'vue3-common/types'
import { ElMessage } from 'element-plus'
import { getCurrentMonth, getCurrentYear, getStartEndDate } from 'vue3-common/utils/dateUtil'
import { isMobile } from 'vue3-common/utils/layoutUtil'
export const useFoodStore = defineStore('food', {
state: () => ({
@@ -157,10 +156,6 @@ export const useFoodStore = defineStore('food', {
break
}
this.foodRecordDialog.visible = false
if (!isMobile()) {
await this.refreshInfo()
}
},
async refreshInfo() {
await this.queryFoodRecipeList()