diff --git a/packages/shop/index/index.vue b/packages/shop/index/index.vue index 99293873..063e37b8 100644 --- a/packages/shop/index/index.vue +++ b/packages/shop/index/index.vue @@ -301,8 +301,6 @@ export default { NavgateTo('1') }, - - changeCate(id) { this.checkItem(0) // 更新当前选中的顶级分类ID @@ -312,6 +310,7 @@ export default { if (category) { // 将leftCateList设置为该分类的二级分类,若为null则设为空数组 this.leftCateList = category.level_two_category || []; + this.tagList1 = category.level_three_category || []; if (this.leftCateList.length > 0) { this.currentLeftCateId = this.leftCateList[0].id; this.secondId = this.leftCateList[0].id;