| | |
| | | v-bind="$attrs" |
| | | @size-change="handleSizeChange" |
| | | @current-change="handleCurrentChange" |
| | | /> |
| | | > |
| | | <el-button class="refresh-button" icon="el-icon-refresh" title="刷新" @click="handleSizeChange" /> |
| | | </el-pagination> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | layout: { |
| | | type: String, |
| | | default: 'total, sizes, prev, pager, next, jumper' |
| | | default: 'total, sizes, prev, pager, next, jumper, slot' |
| | | }, |
| | | background: { |
| | | type: Boolean, |
| | |
| | | } |
| | | } |
| | | }, |
| | | mounted() { |
| | | |
| | | }, |
| | | methods: { |
| | | handleSizeChange(val) { |
| | | this.$emit('pagination', { page: this.currentPage, limit: val }) |