<template>
  <Pagination :cur="current" :total="total" @change="currentChange" layout="pager" :small="true" :size="20"></Pagination>
</template>

<script>
export default {
  data() {
    return {
      current: 1,
      total: 200
    }
  },
  methods: {
    currentChange(value) {
      this.total = this.total + 1;
      console.log(value.cur, value.size);
    }
  }
}
</script>
