diff --git a/pages/cloud_warehouse/home/home.vue b/pages/cloud_warehouse/home/home.vue index 41cb92c..c17c5be 100644 --- a/pages/cloud_warehouse/home/home.vue +++ b/pages/cloud_warehouse/home/home.vue @@ -392,6 +392,8 @@ if (this.isLoading == -1) return; this.isLoading = 1; getProductslist(this.where).then(res => { + this.where.limit = res.data.limit + this.where.page = res.data.page uni.stopPullDownRefresh(); this.hostProduct = [...this.hostProduct, ...res.data.list]; this.isLoading = 0; diff --git a/pages/whole_sale/index.vue b/pages/whole_sale/index.vue index 5f58043..1013760 100644 --- a/pages/whole_sale/index.vue +++ b/pages/whole_sale/index.vue @@ -689,6 +689,8 @@ if (this.isLoading == -1) return; this.isLoading = 1; getProductslist(this.where, true).then(res => { + this.where.limit = res.data.limit + this.where.page = res.data.page if (stop) uni.stopPullDownRefresh(); if (reLoad) this.hostProduct = []; this.hostProduct = [...this.hostProduct, ...res.data.list];