react-component / react-component/pagination
我的current 参数在初始的时候是大于1的,组件会把当前页初始成1吗?
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 674
- Forks
- 333
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
如题,我的current参数是redux取出来的,可以确定得到的current是大于1的,但是传入pagintion组件里面当前页就是第一页了。。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported case with a current value greater than 1, using the pagination component and a value read from Redux. Inspect how the component handles its current prop during initialization. Done means the behavior is either corrected so the supplied page is displayed or clearly documented if initialization to page 1 is intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100