diff --git a/src/js/pager/index.js b/src/js/pager/index.js
index cd96f80..c1d119a 100644
--- a/src/js/pager/index.js
+++ b/src/js/pager/index.js
@@ -13,6 +13,7 @@ function calculate({ currPage, maxPageShow, totalPage }) {
: Math.floor(maxPageShow / 2)
if (totalPage < 2) {
+ arr.push(1)
return arr
}
if (currPage - halfPage > 1) {
@@ -56,28 +57,28 @@ function update(currPage, vm) {
const tmpls = {
home: ``,
end: ``,
prev: ``,
next: ``,
pager: `