0
我不知道为什么我的loadMore不工作,这是我的代码在我的分页:我不能做loadMore,因为hasMore()总是返回false,即使hasNextPage为true?
todos(first: $count # count is default to 2
) @connection(key: "TodoList_todos") { #
edges {
cursor
node {
id,
complete,
...Todo_todo,
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
为什么我的hasMore()返回false时hasNextPage返回true?我该如何解决?