添加开屏广告管理 #123

Merged
root merged 4 commits from sjy-three into master 2024-11-19 10:50:43 +08:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 35366d583c - Show all commits

View File

@ -15,7 +15,6 @@
<div> <div>
<el-scrollbar ref="scrollbarRef" always height="calc(115vh - 400px)" @scroll="handleScroll"> <el-scrollbar ref="scrollbarRef" always height="calc(115vh - 400px)" @scroll="handleScroll">
<OrderBrowsingHistorys ref="orderBrowsingHistorysRef" /> <OrderBrowsingHistorys ref="orderBrowsingHistorysRef" />
</el-scrollbar> </el-scrollbar>
</div> </div>
</div> </div>

View File

@ -29,6 +29,7 @@ const getHistoryList = async (val: KeFuConversationRespVO,activeName: string,no:
queryParams.userId = val.userId queryParams.userId = val.userId
queryParams.activeName = activeName queryParams.activeName = activeName
queryParams.no = no queryParams.no = no
queryParams.pageNo = 1
const res = await getOrderPage(queryParams) const res = await getOrderPage(queryParams)
total.value = res.total total.value = res.total
list.value = res.list list.value = res.list
@ -42,7 +43,8 @@ const loadMore = async () => {
queryParams.pageNo += 1 queryParams.pageNo += 1
const res = await getOrderPage(queryParams) const res = await getOrderPage(queryParams)
total.value = res.total total.value = res.total
concat(list.value, res.list) // concat(list.value, res.list)
list.value = list.value.concat(res.list);
} }
defineExpose({ getHistoryList, loadMore }) defineExpose({ getHistoryList, loadMore })
</script> </script>