分页bug修改
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user