|
|
|
|
@ -101,10 +101,10 @@ export default {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
data: [],
|
|
|
|
|
pagination: {
|
|
|
|
|
pagination:{
|
|
|
|
|
total: 0,
|
|
|
|
|
defaultPageSize: 10, // 默认每页显示数量
|
|
|
|
|
showTotal: total => `共 ${total} 条数据`, // 显示总数
|
|
|
|
|
showTotal: total => `共 ${total} 条数据`,// 显示总数
|
|
|
|
|
showSizeChanger: true, // 显示可改变每页数量
|
|
|
|
|
pageSizeOptions: ['10', '20', '30'],
|
|
|
|
|
onShowSizeChange: (current, pageSize) => this.pageSize = pageSize // 改变每页数量时更新显示
|
|
|
|
|
|