|
@@ -27,6 +27,9 @@ export default {
|
|
type: [String, Function],
|
|
type: [String, Function],
|
|
default: ''
|
|
default: ''
|
|
},
|
|
},
|
|
|
|
+ pagination:{
|
|
|
|
+ type: Object
|
|
|
|
+ },
|
|
data: {
|
|
data: {
|
|
type: Function,
|
|
type: Function,
|
|
required: true
|
|
required: true
|
|
@@ -124,7 +127,6 @@ export default {
|
|
this.localPagination = ['auto', true].includes(this.showPagination) && Object.assign({}, this.localPagination, {
|
|
this.localPagination = ['auto', true].includes(this.showPagination) && Object.assign({}, this.localPagination, {
|
|
current: localPageNum,
|
|
current: localPageNum,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
- pageSizeOptions: ['5', '10', '20', '30', '40'],
|
|
|
|
showTotal: total => `共 ${total} 条记录`,
|
|
showTotal: total => `共 ${total} 条记录`,
|
|
showSizeChanger: this.showSizeChanger
|
|
showSizeChanger: this.showSizeChanger
|
|
}) || false
|
|
}) || false
|