Authored by QC-L

修复加载错误的问题

... ... @@ -238,8 +238,10 @@ class Group extends Page {
query.forEach(item => {
queryObject = Object.assign(queryObject, item);
});
queryObject.page = 1;
newNav.page = 1;
newNav.query = queryObject;
console.log(newNav);
$.ajax({
type: 'GET',
url: '/activity/group/goods-tab',
... ... @@ -286,6 +288,7 @@ class Group extends Page {
success: (data) => {
this.renderMoreData(data.filterList || [], true);
newNav.end = false;
console.log(newNav.page);
if (data.filterList && data.filterList.length) {
newNav.page++;
}
... ...