修改易购页面显示undefined的bug

This commit is contained in:
赵毅 2025-09-05 10:40:38 +08:00
parent e7108f6182
commit 5d77e6f407

View File

@ -33,17 +33,6 @@
<!-- 整体展开的顶部 -->
<view class="header header2" v-if="topShow">
<!-- <view class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
<view class="searchBox_left">
<u-icon name="arrow-left" size="20px" color="#000"></u-icon>
</view>
<view class="searchBox_ipt">
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png"
mode="aspectFill"></image>
<input type="text" placeholder="输入商品名称" />
</view>
</view> -->
<view class="slide">
<view class="slide_con">
<view v-for="(item, index) in CateList" :key="index" class="slide_conBox" @click="changeCate(item.id)">
@ -95,7 +84,7 @@
</view>
</view>
<!-- 右下阴影 -->
<view class="boxshadow2" v-if="cateListShow"></view>
<view class="boxshadow2" v-if="cateListShow" @click="changeCateListShow"></view>
<view class="CateIte">
<view class="CateInfo"
@ -315,6 +304,7 @@ export default {
changeCate(id) {
this.checkItem(0)
// ID
this.currentCategoryId = id;
// id
@ -342,7 +332,7 @@ export default {
this.cateListShow = false
this.rightTopActive = index;
// ID
this.selectedTagId = this.tagList[index].id;
this.selectedTagId = this.tagList[index]?.id;
},
//
topOpen() {