化楼层装修中商品分类判断

master
lemon橪 2021-12-13 19:27:20 +08:00
parent 3cb0e52ca0
commit 1fe4078115
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
</div>
</div>
<div class="goods-list">
<div v-if="selected.index == item.___index || selected.val == item.type" class="goods-item" v-for="(item, item_index) in res.list[0].listWay" :key="item_index">
<div v-if="item.___index != undefined ? (selected.index == item.___index) : ( selected.val == item.type)" class="goods-item" v-for="(item, item_index) in res.list[0].listWay" :key="item_index">
<div class="goods-img">
<Icon size="20" color="#e1251b" @click="closeGoods(item, item_index)" class="goods-icon" type="ios-close-circle" />
<img :src="item.img" alt />