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

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