achao 3 lat temu
rodzic
commit
6a0dd5769c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/order/index.vue

+ 1 - 1
pages/order/index.vue

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