Blame view

src/components/cell/cell-group.vue 384 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
          name: 'CellGroup',
          provide () {
              return {
                  cellGroup: this
77376451   梁灏   fixed #3568
12
              };
9c529885   梁灏   Cell component ad...
13
14
15
16
17
18
          },
          methods: {
              handleClick (name) {
                  this.$emit('on-click', name);
              }
          }
77376451   梁灏   fixed #3568
19
      };
59a3b893   梁灏   add Cell componen...
20
  </script>