Blame view

test/routers/date.vue 678 Bytes
0f677893   梁灏   update DatePicker
1
  <template>
73d10c28   梁灏   update DatePicker
2
      {{value1}} -- {{ value2 }}
d31b0801   梁灏   fixed DatePicker bug
3
      <row>
36931442   梁灏   update DateTimePi...
4
          <i-col span="12">
73d10c28   梁灏   update DatePicker
5
              <Date-picker :value.sync="value1" format="yyyy年MM月dd日" type="date" placeholder="选择日期" style="width: 200px"></Date-picker>
36931442   梁灏   update DateTimePi...
6
          </i-col>
456877a1   梁灏   update TimePicker
7
          <i-col span="12">
73d10c28   梁灏   update DatePicker
8
              <Date-picker :value.sync="value2" format="yyyy/MM/dd" type="daterange" placement="bottom-end" placeholder="选择日期" style="width: 200px"></Date-picker>
9d844d53   梁灏   fixed Layout bug
9
          </i-col>
d31b0801   梁灏   fixed DatePicker bug
10
      </row>
0f677893   梁灏   update DatePicker
11
12
13
  </template>
  <script>
      export default {
2d948738   梁灏   update TimePicker...
14
15
          data () {
              return {
73d10c28   梁灏   update DatePicker
16
17
                  value1: '2016-01-01',
                  value2: ['2016-01-01', '2016-02-15']
2d948738   梁灏   update TimePicker...
18
19
              }
          }
0f677893   梁灏   update DatePicker
20
      }
d20fe0ee   梁灏   update DatePicker
21
  </script>