商品分类刷新优化
parent
93ac9e7075
commit
c72cfc24cd
|
@ -315,7 +315,8 @@
|
||||||
if(index !== this.currentIndex){
|
if(index !== this.currentIndex){
|
||||||
this.isShow = true;
|
this.isShow = true;
|
||||||
this.currentIndex = index;
|
this.currentIndex = index;
|
||||||
// 获取商品列表
|
// 获取商品列表
|
||||||
|
this.page = 1;
|
||||||
this.commodityList = [];
|
this.commodityList = [];
|
||||||
this.noMore = false;
|
this.noMore = false;
|
||||||
this.getCommodityEv(this.cateList[index].id);
|
this.getCommodityEv(this.cateList[index].id);
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -471,6 +471,7 @@ var _default = {
|
||||||
this.isShow = true;
|
this.isShow = true;
|
||||||
this.currentIndex = index;
|
this.currentIndex = index;
|
||||||
// 获取商品列表
|
// 获取商品列表
|
||||||
|
this.page = 1;
|
||||||
this.commodityList = [];
|
this.commodityList = [];
|
||||||
this.noMore = false;
|
this.noMore = false;
|
||||||
this.getCommodityEv(this.cateList[index].id);
|
this.getCommodityEv(this.cateList[index].id);
|
||||||
|
|
Loading…
Reference in New Issue