添加开屏广告管理 #123
@ -8,7 +8,7 @@ import { KeFuConversationRespVO } from '@/api/mall/promotion/kefu/conversation'
|
||||
import { getOrderPage } from '@/api/mall/trade/order'
|
||||
import { concat } from 'lodash-es'
|
||||
|
||||
defineOptions({ name: 'OrderBrowsingHistorys' })
|
||||
defineOptions({ name: 'OrderBrowsingHistory' })
|
||||
|
||||
const list = ref<any>([]) // 列表
|
||||
const total = ref(0) // 总数
|
||||
@ -40,7 +40,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 })
|
||||
</script>
|
||||
|
@ -52,7 +52,8 @@ const loadMore = async () => {
|
||||
queryParams.pageNo += 1
|
||||
const res = await getBrowseHistoryPage(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 })
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user