Commit 2e8add2fb350c54527528bb3e010b00773537cc9

Authored by 梁灏
1 parent 95dfbe1b

release 2.5.1

Showing 2 changed files with 10 additions and 3 deletions   Show diff stats
examples/routers/date.vue
1 1 <template>
2 2 <div>
3   - <Date-picker transfer placeholder="选择日期" style="width: 200px"></Date-picker>
4   - <Date-picker transfer type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
  3 + {{ value1 }}-{{ value2 }}
  4 + <Date-picker v-model="value1" placeholder="选择日期" style="width: 200px"></Date-picker>
  5 + <Date-picker v-model="value2" type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
5 6 <Date-picker transfer type="datetimerange" placeholder="选择日期" style="width: 200px" @on-change="changeDate"></Date-picker>
6 7 </div>
7 8 </template>
8 9 <script>
9 10 export default {
  11 + data () {
  12 + return {
  13 + value1: '',
  14 + value2: []
  15 + }
  16 + },
10 17 methods: {
11 18 changeDate(date){
12 19 console.log(date);
... ...
package.json
1 1 {
2 2 "name": "iview",
3   - "version": "2.5.0",
  3 + "version": "2.5.1",
4 4 "title": "iView",
5 5 "description": "A high quality UI components Library with Vue.js",
6 6 "homepage": "http://www.iviewui.com",
... ...