Skip to content

Commit a517853

Browse files
committed
fix: fix the code format
1 parent 2e949b2 commit a517853

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/hooks/pagination/usePagination.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export default function (
9292
const delegationActions = useFlag$({}),
9393
createDelegationAction =
9494
actionName =>
95-
(...args) =>
96-
delegationActions.current[actionName](...args),
95+
(...args) =>
96+
delegationActions.current[actionName](...args),
9797
states = useWatcher(getHandlerMethod, [...watchingStates, _exp$(page), _exp$(pageSize)], {
9898
immediate,
9999
initialData,
@@ -175,8 +175,8 @@ export default function (
175175
const exceedPageCount = pageCountVal
176176
? preloadPage > pageCountVal
177177
: isNextPage // 如果是判断预加载下一页数据且没有pageCount的情况下,通过最后一页数据量是否达到pageSize来判断
178-
? len(listDataGetter(rawData)) < _$(pageSize)
179-
: falseValue;
178+
? len(listDataGetter(rawData)) < _$(pageSize)
179+
: falseValue;
180180
return preloadPage > 0 && !exceedPageCount;
181181
};
182182

0 commit comments

Comments
 (0)