添加开屏广告管理 #123
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user