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 })