fix picker

This commit is contained in:
cookfront 2017-03-21 14:49:45 +08:00
parent 09b4686860
commit 3782cf3edc
2 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,6 @@ export default {
[0, 59]
];
}
debugger
const { maxYear, maxDate, maxMonth, maxHour, maxMinute } = this.getBoundary('max', this.innerValue);
const { minYear, minDate, minMonth, minHour, minMinute } = this.getBoundary('min', this.innerValue);

View File

@ -65,6 +65,9 @@ export default {
},
watch: {
value(val) {
this.currentValue = val;
},
values(val) {
this.currentValues = val;
},