Blame view

src/components/select/option-group.vue 529 Bytes
e355dd49   梁灏   add Select Component
1
  <template>
d6342fe1   jingsam   fixed ie bug
2
3
      <li :class="[prefixCls + '-wrap']">
          <div :class="[prefixCls + '-title']">{{ label }}</div>
e355dd49   梁灏   add Select Component
4
          <ul>
d6342fe1   jingsam   fixed ie bug
5
              <li :class="[prefixCls]"><slot></slot></li>
e355dd49   梁灏   add Select Component
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
          </ul>
      </li>
  </template>
  <script>
      const prefixCls = 'ivu-select-group';
  
      export default {
          props: {
              label: {
                  type: String,
                  default: ''
              }
          },
          data () {
              return {
e4ce9917   梁灏   update Select com...
21
                  prefixCls: prefixCls
e355dd49   梁灏   add Select Component
22
23
24
              }
          }
      }
d6342fe1   jingsam   fixed ie bug
25
  </script>