We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d160e68 commit 8735d2cCopy full SHA for 8735d2c
packages/@vuepress/plugin-pagination/index.js
@@ -5,7 +5,7 @@ function getIntervallers (max, interval) {
5
const arr = [...Array(count)]
6
return arr.map((v, index) => {
7
const start = index * interval
8
- const end = (index + 1) * interval - 1
+ const end = (index + 1) * interval
9
return [start, end > max ? max : end]
10
})
11
}
0 commit comments