|
@@ -82,7 +82,7 @@ Component({
|
|
|
if(this.data.position === 'hot') this.getHotCommodity();
|
|
if(this.data.position === 'hot') this.getHotCommodity();
|
|
|
if(this.data.position === 'new') this.getNewCommodity();
|
|
if(this.data.position === 'new') this.getNewCommodity();
|
|
|
if(this.data.position === 'presale') this.getPresaleCommodity();
|
|
if(this.data.position === 'presale') this.getPresaleCommodity();
|
|
|
- if(this.data.position === 'sort') this.getClassifyCommodity();
|
|
|
|
|
|
|
+ if(this.data.position === 'sort' || this.data.position === 'index') this.getClassifyCommodity();
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
ready: function(){
|
|
ready: function(){
|