mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 09:21:54 +00:00
sysadmin reconstruct links page (#4153)
* sysadmin reconstruct links page * optimize code * optimize code
This commit is contained in:
@@ -1192,6 +1192,12 @@ export const Utils = {
|
||||
result = '00:' + result;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
||||
hasNextPage(curPage, perPage, totalCount) {
|
||||
// when curPage * perPage >= totalCount, do not have next page.
|
||||
// so hasNextPage = true, when curPage * perPage < totalCount
|
||||
return curPage * perPage < totalCount;
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user