mirror of https://github.com/ElemeFE/element
TimePicker: Set the selection range after scrolling up or down (#16868)
parent
059448bf7d
commit
45c0ef46f2
|
@ -283,6 +283,7 @@
|
||||||
|
|
||||||
this.modifyDateField(label, now);
|
this.modifyDateField(label, now);
|
||||||
this.adjustSpinner(label, now);
|
this.adjustSpinner(label, now);
|
||||||
|
this.$nextTick(() => this.emitSelectRange(this.currentScrollbar));
|
||||||
},
|
},
|
||||||
amPm(hour) {
|
amPm(hour) {
|
||||||
let shouldShowAmPm = this.amPmMode.toLowerCase() === 'a';
|
let shouldShowAmPm = this.amPmMode.toLowerCase() === 'a';
|
||||||
|
|
Loading…
Reference in New Issue