修复分页组件bug

This commit is contained in:
tangly1024.com
2023-05-06 12:47:54 +08:00
parent 0319acea70
commit 236b2d14a5
5 changed files with 12 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ const PaginationNumber = ({ page, totalPage }) => {
</Link>
</div>
);
)
}
function getPageElement(page, currentPage, pagePrefix) {
@@ -66,7 +66,7 @@ function getPageElement(page, currentPage, pagePrefix) {
{page}
</Link>)
);
)
}
function generatePages(pagePrefix, page, currentPage, totalPage) {