sort 및 페이징
This commit is contained in:
@@ -54,13 +54,12 @@ export const NoticeListPage = () => {
|
||||
});
|
||||
|
||||
const callList = (type?: string) => {
|
||||
setOnActionIntersect(false);
|
||||
let listParams: NoticeListParams = {
|
||||
informCl: informCl,
|
||||
searchCl: (!!searchKeyword)? SearchCl.HEAD: null,
|
||||
searchKeyword: searchKeyword,
|
||||
...{
|
||||
page: pageParam
|
||||
}
|
||||
page: pageParam
|
||||
};
|
||||
if(type !== 'page' && listParams.page){
|
||||
listParams.page.cursor = null;
|
||||
@@ -86,7 +85,7 @@ export const NoticeListPage = () => {
|
||||
else{
|
||||
setPageParam({
|
||||
...pageParam,
|
||||
...{ cursor: rs.nextCursor }
|
||||
...{ cursor: null }
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user