Blame view

test/routers/select.vue 749 Bytes
e355dd49   梁灏   add Select Component
1
  <template>
54a83aa5   梁灏   fixed #211
2
3
4
5
6
7
8
9
10
11
12
13
14
15
      <i-select :model.sync="model9" style="width:200px">
          <i-option value="beijing" label="北京市">
              <span>北京</span>
              <span style="float:right;color:#ccc">Beiing</span>
          </i-option>
          <i-option value="shanghai" label="上海市">
              <span>上海</span>
              <span style="float:right;color:#ccc">ShangHai</span>
          </i-option>
          <i-option value="shenzhen" label="深圳市">
              <span>深圳</span>
              <span style="float:right;color:#ccc">ShenZhen</span>
          </i-option>
      </i-select>
e355dd49   梁灏   add Select Component
16
17
  </template>
  <script>
e355dd49   梁灏   add Select Component
18
      export default {
e355dd49   梁灏   add Select Component
19
20
          data () {
              return {
54a83aa5   梁灏   fixed #211
21
                  model9: 'shanghai'
e355dd49   梁灏   add Select Component
22
23
24
              }
          }
      }
3e855e34   梁灏   fixed #46
25
  </script>