feat:增加登录模块
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-empty v-if="dailyItemInfo.itemList.length === 0" />
|
||||
<el-empty v-if="dailyItemInfo.itemList.length === 0" description="暂无记录"/>
|
||||
|
||||
<div v-else class="food-daily-item card-item">
|
||||
<daily-summary :date="dailyItemInfo.date"/>
|
||||
@@ -82,11 +82,11 @@ const getFoodDailyByDate = (date: string) => {
|
||||
* @param record 美食记录
|
||||
*/
|
||||
const selectFoodRecordClick = async (record: IRecord) => {
|
||||
// foodStore.foodRecordApiType = 'UPDATE'
|
||||
foodStore.recordApiType = 'UPDATE'
|
||||
|
||||
// appStore.isShowMobileBack = true
|
||||
// foodStore.currentFoodRecord = foodRecord
|
||||
// await router.push({ name: 'MobileHomeFoodRecordForm' })
|
||||
appStore.isShowMobileBack = true
|
||||
foodStore.currentRecord = record
|
||||
await router.push('/record/recordForm')
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</div>
|
||||
|
||||
<div class="food-list">
|
||||
<el-empty v-if="foodStore.recipeList.length === 0" description="暂无美食记录"/>
|
||||
<el-empty v-if="foodStore.recipeList.length === 0" description="暂无记录"/>
|
||||
|
||||
<div v-else class="list">
|
||||
<food-card v-for="(item, index) in foodStore.recipeList"
|
||||
|
||||
Reference in New Issue
Block a user