优惠券加分页
This commit is contained in:
@@ -293,8 +293,12 @@ export default {
|
||||
this.loadStatu = "loading";
|
||||
this.page++;
|
||||
this.getOrderList({ load: 'loadmore' }).then(length => {
|
||||
this.loadStatu = "nomore";
|
||||
if(length == 0) this.page--;
|
||||
if(length == 0) {
|
||||
this.page--;
|
||||
this.loadStatu = "nomore";
|
||||
} else {
|
||||
this.loadStatu = "loadmore";
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loadStatu = "nomore";
|
||||
this.page--;
|
||||
|
||||
Reference in New Issue
Block a user