Blame view

examples/components/test.vue 1.13 KB
64f99c05   梁灏   Table support ren...
1
  <template>
8b530b1c   梁灏   fixed #1342
2
3
4
      <Select v-model="model1" style="width:200px">
          <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
      </Select>
64f99c05   梁灏   Table support ren...
5
6
7
  </template>
  <script>
      export default {
8b530b1c   梁灏   fixed #1342
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
          data () {
              return {
                  cityList: [
                      {
                          value: 'beijing',
                          label: '北京市'
                      },
                      {
                          value: 'shanghai',
                          label: '上海市'
                      },
                      {
                          value: 'shenzhen',
                          label: '深圳市'
                      },
                      {
                          value: 'hangzhou',
                          label: '杭州市'
                      },
                      {
                          value: 'nanjing',
                          label: '南京市'
                      },
                      {
                          value: 'chongqing',
                          label: '重庆市'
                      }
                  ],
                  model1: ''
              }
4098c176   Aresn   update Table
38
          }
64f99c05   梁灏   Table support ren...
39
40
      }
  </script>