achao 3 năm trước cách đây
mục cha
commit
6a0dd5769c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/order/index.vue

+ 1 - 1
pages/order/index.vue

@@ -402,7 +402,7 @@
 						currentPage: page.num
 						currentPage: page.num
 					}).then(res => {
 					}).then(res => {
 						this.isSearch = false
 						this.isSearch = false
-						if (page.num == 1) this.goods = []; //如果是第一页需手动制空列表
+						if (page.num == 1) this.goods = [];
 						this.goods = this.goods.concat(res.data.records); //追加新数据
 						this.goods = this.goods.concat(res.data.records); //追加新数据
 						this.mescroll.endBySize(res.data.records.length, res.data.total);
 						this.mescroll.endBySize(res.data.records.length, res.data.total);