分页bug修改

This commit is contained in:
zhaoxiao
2021-10-14 18:47:16 +08:00
parent 569624e304
commit 3c4d61bff1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
<a-pagination
show-quick-jumper
showSizeChanger
:pageSizeOptions="['10', '20', '30']"
:pageSizeOptions="['10', '20', '30', '50', '100']"
:showTotal="(total, range) => {return range[0] + '-' + range[1] + ' 共' + total + '条'}"
:default-current="2"
:total="tableData.length"
+1 -1
View File
@@ -24,7 +24,7 @@ export const JeroListMixin = {
ipagination:{
current: 1,
pageSize: 10,
pageSizeOptions: ['2','10', '20', '30'],
pageSizeOptions: ['10', '20', '30', '50', '100'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' 共' + total + '条'
},
@@ -113,7 +113,7 @@
class="pagination"
show-size-changer
:show-total="(total, range) => `${range[0]}-${range[1]}${total}`"
:pageSizeOptions="['10','20','50','100']"
:pageSizeOptions="['10','20', '30', '50','100']"
show-quick-jumper
:total="total"
@change="changePagination"