|
|
@ -33,7 +33,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
showSizeChanger: { |
|
|
|
showSizeChanger: { |
|
|
|
type: Boolean, |
|
|
|
type: Boolean, |
|
|
|
default: false |
|
|
|
default: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
size: { |
|
|
|
size: { |
|
|
|
type: String, |
|
|
|
type: String, |
|
|
@ -145,9 +145,9 @@ export default { |
|
|
|
this.localLoading = true |
|
|
|
this.localLoading = true |
|
|
|
const params = Object.assign({ |
|
|
|
const params = Object.assign({ |
|
|
|
page: (pagination && pagination.current) || |
|
|
|
page: (pagination && pagination.current) || |
|
|
|
this.showPagination && this.localPagination.current || this.pageNum |
|
|
|
this.showPagination && this.localPagination.current || this.pageNum, |
|
|
|
// pageSize: (pagination && pagination.pageSize) ||
|
|
|
|
pageSize: (pagination && pagination.pageSize) || |
|
|
|
// this.showPagination && this.localPagination.pageSize || this.pageSize
|
|
|
|
this.showPagination && this.localPagination.pageSize || this.pageSize |
|
|
|
}, |
|
|
|
}, |
|
|
|
(sorter && sorter.field && { |
|
|
|
(sorter && sorter.field && { |
|
|
|
sortField: sorter.field |
|
|
|
sortField: sorter.field |
|
|
|