菜谱菜谱展示
This commit is contained in:
parent
53465a79af
commit
34bd00bd47
|
|
@ -102,8 +102,8 @@
|
|||
|
||||
<el-table-column v-for="item in mealTimeList" :key="item.mealtimeType" :label="item.mealtimeName" align="center" v-if="activeName=='currentRecipe'" width="200">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.detail&&scope.row.detail.length>0">
|
||||
<div v-for="subItem in scope.row.detail[0].details" :key="subItem.detailId">
|
||||
<div v-if="scope.row.detail">
|
||||
<div v-for="subItem in scope.row.detail.details" :key="subItem.detailId">
|
||||
<div v-if="subItem.mealtimeType==item.mealtimeType">
|
||||
<div v-for="(lastItem,index) in subItem.dishesList" :key="lastItem.dishesId">
|
||||
<div v-if="index<4">{{ lastItem.dishesName }}</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue