sort 및 페이징

This commit is contained in:
focp212@naver.com
2025-10-24 16:28:32 +09:00
parent 3a9c480f7a
commit c0c983be1a
6 changed files with 57 additions and 74 deletions

View File

@@ -98,15 +98,13 @@ export const AllTransactionListPage = () => {
let listParams: AllTransactionListParams = {
...listSummaryParams,
...{
page: pageParam
page: {
...pageParam,
...{ sortType: sortType }
}
}
};
if(listParams.page){
listParams.page.sortType = option?.sortType || sortType;
setPageParam(listParams.page);
}
allTransactionList(listParams).then((rs: AllTransactionListResponse) => {
console.log(rs.content)
setListItems(rs.content);