修改易购页面显示undefined的bug
This commit is contained in:
parent
5218893ae7
commit
0c7b906afd
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user