From 35366d583c24cdc1af8f5e1f33221f7276f38987 Mon Sep 17 00:00:00 2001 From: sonjinyon <2476687577@qq.com> Date: Mon, 18 Nov 2024 13:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=9C=8D=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=95=86=E5=93=81=E6=9F=A5=E8=AF=A2=E5=88=86?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kefu/components/history/MemberBrowsingHistorys.vue | 3 +-- .../kefu/components/history/OrderBrowsingHistorys.vue | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/MemberBrowsingHistorys.vue b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/MemberBrowsingHistorys.vue index c3d4a9b..7fff3ba 100644 --- a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/MemberBrowsingHistorys.vue +++ b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/MemberBrowsingHistorys.vue @@ -14,8 +14,7 @@
- - +
diff --git a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/OrderBrowsingHistorys.vue b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/OrderBrowsingHistorys.vue index e27c5f0..e3bd097 100644 --- a/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/OrderBrowsingHistorys.vue +++ b/yudao-admin-vue3/src/views/mall/promotion/kefu/components/history/OrderBrowsingHistorys.vue @@ -29,6 +29,7 @@ const getHistoryList = async (val: KeFuConversationRespVO,activeName: string,no: queryParams.userId = val.userId queryParams.activeName = activeName queryParams.no = no + queryParams.pageNo = 1 const res = await getOrderPage(queryParams) total.value = res.total list.value = res.list @@ -42,7 +43,8 @@ const loadMore = async () => { queryParams.pageNo += 1 const res = await getOrderPage(queryParams) total.value = res.total - concat(list.value, res.list) + // concat(list.value, res.list) + list.value = list.value.concat(res.list); } defineExpose({ getHistoryList, loadMore })