|
@@ -249,7 +249,7 @@ function getTabData(activePage) {
|
|
|
const totalNum = res.data.data.total
|
|
|
renderTab(tabList, activePage)
|
|
|
renderPagination(totalPage, Number(activePage), totalNum)
|
|
|
- if (totalPage > 1) {
|
|
|
+ if (totalPage > 0) {
|
|
|
renderPagination(totalPage, Number(activePage), totalNum)
|
|
|
} else {
|
|
|
$('.pagination').html("")
|