Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • examples
  • routers
  • page.vue
  • fix #1543
    ea060d98
    Rijn authored
    2017-08-08 11:23:50 -0500  
    Browse Code ยป
page.vue 414 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<template>
    <div>
        <Page :total="total" show-sizer show-elevator show-total></Page>
        <Button type="primary" @click="subject">- 1</Button>
    </div>
</template>
<script>
    export default {
        data () {
            return {
                total: 21
            }
        },
        methods: {
            subject() {
                this.total -= 1;
            }
        }
    }
</script>