Blame view

examples/routers/notice.vue 1.12 KB
be0769d4   Rijn   added move up tra...
1
  <template>
1210cfe5   梁灏   update Modal prop...
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>
be0769d4   Rijn   added move up tra...
5
6
7
  </template>
  <script>
      export default {
1210cfe5   梁灏   update Modal prop...
8
9
10
11
12
13
          data () {
              return {
                  cityList: [
                      {
                          value: 'New York',
                          label: 'New York'
3f7a5f1a   zhigang.li   udpate notice
14
                      },
1210cfe5   梁灏   update Modal prop...
15
16
17
                      {
                          value: 'London',
                          label: 'London'
efc65a34   zhigang.li   fixed bug of noti...
18
                      },
1210cfe5   梁灏   update Modal prop...
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
                      {
                          value: 'Sydney',
                          label: 'Sydney'
                      },
                      {
                          value: 'Ottawa',
                          label: 'Ottawa'
                      },
                      {
                          value: 'Paris',
                          label: 'Paris'
                      },
                      {
                          value: 'Canberra',
                          label: 'Canberra'
                      }
                  ],
                  model1: 'Sydney'
be0769d4   Rijn   added move up tra...
37
              }
be0769d4   Rijn   added move up tra...
38
39
40
          }
      }
  </script>