This commit is contained in:
Rijn 2017-08-08 11:23:50 -05:00
parent 06290cb3a9
commit ea060d98f1
2 changed files with 20 additions and 2 deletions

View file

@ -1,8 +1,20 @@
<template>
<Page :total="100" show-sizer show-elevator show-total></Page>
<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>