From 0c7b906afd14826a7698698fbcc3b7fbac3c36ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Fri, 5 Sep 2025 10:54:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=93=E8=B4=AD=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=98=BE=E7=A4=BAundefined=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shop/index/index.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;