修改每日菜谱问题和调整首页布局以及移除不必要的导入

This commit is contained in:
ctw committed 2025-01-17 14:15:01 +08:00
1 parent 611f1d634d
commit 373de198e4
11 files changed
+200 -159

No files matched your search

+3 -2
View File
@@ -337,10 +337,11 @@ const handleClickSelect = async () => {
selectDialogVisible.value = true
selectObjs.value = [...selectedFood.value]
await getDataListAndSelect() // 获取菜品数据并且勾选表格行
await getDataListAndSelect() // 获取菜品数据并且勾选表格行
// 获取菜品分类数据
try {
const res = await getCanteenCategory()
const res = await getCanteenCategory({ current: 1, size: 999999 })
categoryOptions.value = res.data.records
} catch (error) {
categoryOptions.value = []