From c722ebd9b327a807a82dade527c0546895812e75 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 12 Apr 2024 14:19:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=91=E4=BB=93=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E5=92=8C=E6=89=B9=E5=8F=91=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cloud_warehouse/home/home.vue | 2 ++ pages/whole_sale/index.vue | 2 ++ 2 files changed, 4 insertions(+) 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];