修改首页分类跳转没有数据问题
parent
1bd8e6489f
commit
bdbc2b4a19
|
@ -133,11 +133,13 @@
|
|||
this.newWidth = this.newWidth - rect.width - 20;
|
||||
}).exec()
|
||||
},200)
|
||||
this.pid = this.cateList[0].id;
|
||||
if(this.cateList[0].child) {
|
||||
this.secendCateList = this.cateList[0].child;
|
||||
this.pid = this.cateList[this.current].id;
|
||||
if(this.cateList[this.current].child) {
|
||||
this.secendCateList = this.cateList[this.current].child;
|
||||
this.checkShopList(this.secendCateList[0].id);
|
||||
}else{
|
||||
this.checkShopList(this.cateList[this.current].id);
|
||||
}
|
||||
this.checkShopList(this.cateList[0].id);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue