分页器异常问题

This commit is contained in:
lai committed 2024-01-17 11:00:27 +08:00
1 parent bd256d7006
commit f1f583e1a5
5 files changed
+7 -5

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ export async function listNeSoftware(query: Record<string, any>) {
}
// 分页
const pageNum = query.pageNum - 1;
const pageNum = (query.pageNum - 1) * query.pageSize;
const limtSql = ` order by update_time desc limit ${pageNum},${query.pageSize} `;
// 发起请求
@@ -180,7 +180,7 @@ export async function listNeVersion(query: Record<string, any>) {
}
// 分页
const pageNum = query.pageNum - 1;
const pageNum = (query.pageNum - 1) * query.pageSize;
const limtSql = ` order by update_time desc limit ${pageNum},${query.pageSize} `;
// 发起请求