AndersDJohnson / AndersDJohnson/fetch-paginate
paging counter for second page is invalid
- 主要语言
- TypeScript
- 星标
- 27
- 派生
- 3
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 2
描述
hi,
based on this bundle `https://unpkg.com/fetch-paginate@6.1.0/bundle.js` the `page` query parameter isnt incrementing right. this is my code:
```JS
fetchOptions = {
// ...
}
fetchPaginate.default('---URL---', {
fetchOptions: fetchOptions,
getItems: function (body) {
return body.rows
},
params: true,
page: 0,
})
```
the first request got the query param `page=0`, the second also and the third one got `page=2`. so the second page with `page=1` is never called. bug?
regards,
volker.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。