<template>
  <div>
    <hive-pagination
      :total="200"
      @change="onChange"
      @pageSizeChange="onPagesizeChange"
      show-jumper
      :page-size-option="[10,20,30]"
    />
  </div>
</template>

<script>
export default {
  methods: {
    onChange(index) {
      console.log(`转到第${index}页`);
    },
    onPagesizeChange(pageSize, index) {
      console.log(`${pageSize} ${index}`);
    }
  }
};
</script>
