Blame view

examples/routers/page.vue 414 Bytes
7fa943eb   梁灏   init
1
  <template>
ea060d98   Rijn   fix #1543
2
3
4
5
      <div>
          <Page :total="total" show-sizer show-elevator show-total></Page>
          <Button type="primary" @click="subject">- 1</Button>
      </div>
7fa943eb   梁灏   init
6
7
  </template>
  <script>
7fa943eb   梁灏   init
8
      export default {
ea060d98   Rijn   fix #1543
9
10
11
12
13
14
15
16
17
18
          data () {
              return {
                  total: 21
              }
          },
          methods: {
              subject() {
                  this.total -= 1;
              }
          }
7fa943eb   梁灏   init
19
      }
d6342fe1   jingsam   fixed ie bug
20
  </script>