Commit 2b58b22
fix(Pagination): incorrect pagination jump (#2975)
发现 分页组件有点 问题,具体为 :
假设 每页5条数据,当 到第5页时会出现 ... ,点击这个 ... 会跳转到 最后一页,同理 下一页的 ...也会出现;
这时应该 为 上一页 为 1,同理 下一页为 最后一页即 InternalPageCount,
Signed-off-by: SuperPigBlog <[email protected]>
Co-authored-by: Argo Zhang <[email protected]>1 parent 5c8a69e commit 2b58b22
File tree
1 file changed
+4
-2
lines changed- src/BootstrapBlazor/Components/Pagination
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
| 198 | + | |
| 199 | + | |
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
| |||
0 commit comments