수정
This commit is contained in:
@@ -91,6 +91,7 @@ export const AlarmList = ({
|
|||||||
setResultList(rs.content);
|
setResultList(rs.content);
|
||||||
}
|
}
|
||||||
if(rs.hasNext
|
if(rs.hasNext
|
||||||
|
&& rs.nextCursor !== pageParam.cursor
|
||||||
&& rs.content.length === DEFAULT_PAGE_PARAM.size
|
&& rs.content.length === DEFAULT_PAGE_PARAM.size
|
||||||
){
|
){
|
||||||
setPageParam({
|
setPageParam({
|
||||||
@@ -106,6 +107,7 @@ export const AlarmList = ({
|
|||||||
}
|
}
|
||||||
setOnActionIntersect(
|
setOnActionIntersect(
|
||||||
!!rs.hasNext
|
!!rs.hasNext
|
||||||
|
&& rs.nextCursor !== pageParam.cursor
|
||||||
&& rs.content.length === DEFAULT_PAGE_PARAM.size
|
&& rs.content.length === DEFAULT_PAGE_PARAM.size
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user