Blame view

src/components/cell/cell-group.vue 382 Bytes
59a3b893   梁灏   add Cell componen...
1
  <template>
66fc7ae4   梁灏   update CellGroup
2
3
4
      <div class="ivu-cell-group">
          <slot></slot>
      </div>
59a3b893   梁灏   add Cell componen...
5
6
7
  </template>
  <script>
      export default {
9c529885   梁灏   Cell component ad...
8
9
10
11
12
13
14
15
16
17
18
          name: 'CellGroup',
          provide () {
              return {
                  cellGroup: this
              }
          },
          methods: {
              handleClick (name) {
                  this.$emit('on-click', name);
              }
          }
59a3b893   梁灏   add Cell componen...
19
20
      }
  </script>