DatePicker: fix the panel is not updated when value change, fixed #1158

pull/1347/head
qingwei.li 2016-11-24 12:56:24 +08:00 committed by 杨奕
parent 304f02ea0e
commit 2f6750964e
1 changed files with 4 additions and 0 deletions

View File

@ -228,6 +228,8 @@
this.$refs.yearTable.nextTenYear();
} else {
this.year++;
this.date.setFullYear(this.year);
this.resetDate();
}
},
@ -236,6 +238,8 @@
this.$refs.yearTable.prevTenYear();
} else {
this.year--;
this.date.setFullYear(this.year);
this.resetDate();
}
},