🔱: [client] sync upgrade with 2 commits [trident-sync]

fix: 修复hello world 返回数据格式错误
pull/14/head
GitHub Actions Bot 2023-07-10 19:24:06 +00:00
parent b4c4dc2c2e
commit 32c8e9482c
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ const createCrudOptions = function ({}: CreateCrudOptionsProps): CreateCrudOptio
const pageRequest = async (query: UserPageQuery): Promise<UserPageRes> => { const pageRequest = async (query: UserPageQuery): Promise<UserPageRes> => {
return { return {
records, records,
currentPage: 1, offset: 0, //transformRescurrentPage
pageSize: 20, limit: 20, //transformRespageSize
total: records.length total: records.length
}; };
}; };