修改易购页面显示undefined的bug

This commit is contained in:
赵毅 2025-09-05 10:54:11 +08:00
parent 5218893ae7
commit 0c7b906afd

View File

@ -301,8 +301,6 @@ export default {
NavgateTo('1')
},
changeCate(id) {
this.checkItem(0)
// ID
@ -312,6 +310,7 @@ export default {
if (category) {
// leftCateListnull
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;