mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
fix picker
This commit is contained in:
@@ -81,7 +81,6 @@ export default {
|
|||||||
[0, 59]
|
[0, 59]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
debugger
|
|
||||||
const { maxYear, maxDate, maxMonth, maxHour, maxMinute } = this.getBoundary('max', this.innerValue);
|
const { maxYear, maxDate, maxMonth, maxHour, maxMinute } = this.getBoundary('max', this.innerValue);
|
||||||
const { minYear, minDate, minMonth, minHour, minMinute } = this.getBoundary('min', this.innerValue);
|
const { minYear, minDate, minMonth, minHour, minMinute } = this.getBoundary('min', this.innerValue);
|
||||||
|
|
||||||
|
@@ -65,6 +65,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
|
value(val) {
|
||||||
|
this.currentValue = val;
|
||||||
|
},
|
||||||
values(val) {
|
values(val) {
|
||||||
this.currentValues = val;
|
this.currentValues = val;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user