Authored by dongjunjie

sortId传参数传最后一级类目id

... ... @@ -91,9 +91,8 @@
submitParams.beginTime = this.dateTransform(this.params.beginTime);
submitParams.endTime = this.dateTransform(this.params.endTime);
if(this.params.sortList.length > 0){
submitParams.sortId = this.params.sortList[0].id;
submitParams.sortId = this.params.sortList[this.params.sortList.length-1].id;
}
console.log(submitParams);
return submitParams;
},
//时间格式转换
... ...
... ... @@ -91,9 +91,8 @@
submitParams.beginTime = this.dateTransform(this.params.beginTime);
submitParams.endTime = this.dateTransform(this.params.endTime);
if(this.params.sortList.length > 0){
submitParams.sortId = this.params.sortList[0].id;
submitParams.sortId = this.params.sortList[this.params.sortList.length-1].id;
}
console.log(submitParams);
return submitParams;
},
//时间格式转换
... ...