<template>
  <div class="demo-pagination-basic">
    <ui-pagination
      :current-page.sync="page"
      :total="total"
      :on-change="handleChange"></ui-pagination>
  </div>
</template>
<script>
import { Pagination } from "amumu-ui"
export default {
  components: {
    "ui-pagination": Pagination,
  },
  data() {
    return {
      page: 1,
      total: 290,
    }
  },
  methods: {
    handleChange(page) {
      this.page = page
    },
  },
}
</script>
