store css 8.18

This commit is contained in:
2020-08-18 10:06:20 +08:00
parent a702558eac
commit cada935c17
8 changed files with 18 additions and 16 deletions

View File

@@ -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;