fix: 查询分页*条数
This commit is contained in:
1 parent
550a19e777
commit
e77614a86c
4 files changed
+3
-4
No files matched your search
@@ -18,7 +18,7 @@ export async function listNeInfo(query: Record<string, any>) {
|
||||
}
|
||||
|
||||
// 分页
|
||||
const pageNum = query.pageNum - 1;
|
||||
const pageNum = (query.pageNum - 1) * query.pageSize;
|
||||
const limtSql = ` limit ${pageNum},${query.pageSize} `;
|
||||
|
||||
// 发起请求
|
||||
|
||||
Reference in new issue
Block a user