Commit 573e6aa
fix(Page): 修复分页问题
Page 分页对象重写 offset() 方法。
修复分页指定为 1 时,却返回第 1 页数据的问题
(因起始页为0,正确的应该返回第 2 页的数据)1 parent fc9b169 commit 573e6aa
1 file changed
Lines changed: 14 additions & 3 deletions
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
57 | 68 | | |
0 commit comments