store css 8.18
This commit is contained in:
@@ -78,10 +78,10 @@ export default {
|
||||
})
|
||||
this.timer = true;
|
||||
if(res.errCode == 0) {
|
||||
if(load == 'reload') this.goodsList = res.data.data;
|
||||
else if(load == 'loadmore') this.goodsList.push(...res.data.data);
|
||||
if(load == 'reload') this.goodsList = res.data;
|
||||
else if(load == 'loadmore') this.goodsList.push(...res.data);
|
||||
}
|
||||
return res.data.data.length;
|
||||
return res.data.length;
|
||||
},
|
||||
loadMore() {
|
||||
if(this.goodsList.length < this.pageSize) return false;
|
||||
|
||||
Reference in New Issue
Block a user