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