Browse Source

Merge remote-tracking branch 'origin/master'

master
396316021 1 year ago
parent
commit
33f6e052e9
  1. 6
      pages/Addr/index.vue

6
pages/Addr/index.vue

@ -246,7 +246,11 @@
}
this.status = 'loading';
getAddressList(this.pages).then(res => {
this.addrList.push.apply(this.addrList,res.data)
if (this.pages.page === 1) {
this.addrList = res.data;
}else{
this.addrList.push(...res.data);
}
this.pages.page++;
if(res.data.length === 0){
this.status = 'nomore';

Loading…
Cancel
Save