|
|
@ -246,7 +246,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
this.status = 'loading'; |
|
|
|
this.status = 'loading'; |
|
|
|
getAddressList(this.pages).then(res => { |
|
|
|
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++; |
|
|
|
this.pages.page++; |
|
|
|
if(res.data.length === 0){ |
|
|
|
if(res.data.length === 0){ |
|
|
|
this.status = 'nomore'; |
|
|
|
this.status = 'nomore'; |
|
|
|