diff --git a/pages/Addr/index.vue b/pages/Addr/index.vue index e2f0d08..b71bfdc 100644 --- a/pages/Addr/index.vue +++ b/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';