|
|
@ -126,10 +126,8 @@ async function featchList() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
// const result = await dubiousfilelist({ ...pagination, orderbyname: timeRange.value })
|
|
|
|
// const result = await dubiousfilelist({ ...pagination, orderbyname: timeRange.value })
|
|
|
|
const result = await dubiousfilelist({ ...pagination, ...sortObj })
|
|
|
|
const result = await dubiousfilelist({ ...pagination, ...sortObj })
|
|
|
|
console.log("result-----------", result);
|
|
|
|
|
|
|
|
// TODO:测试数据
|
|
|
|
// TODO:测试数据
|
|
|
|
// result.data = Array.from({ length: 30 })
|
|
|
|
// result.data = Array.from({ length: 30 })
|
|
|
|
// result.pageCount = 1
|
|
|
|
|
|
|
|
const { data, pageCount } = result
|
|
|
|
const { data, pageCount } = result
|
|
|
|
pagination.pageNo += 1
|
|
|
|
pagination.pageNo += 1
|
|
|
|
// canloadMore = pageCount >= pagination.pageNo && pageCount > 0;
|
|
|
|
// canloadMore = pageCount >= pagination.pageNo && pageCount > 0;
|
|
|
|