update TimePicker css
update TimePicker css
This commit is contained in:
parent
420ef34349
commit
7c4c9d9ce9
3 changed files with 11 additions and 74 deletions
|
@ -175,12 +175,10 @@
|
|||
},
|
||||
updateScroll () {
|
||||
const times = ['hours', 'minutes', 'seconds'];
|
||||
times.forEach(type => this.$els[type].style.overflow = 'hidden');
|
||||
this.$nextTick(() => {
|
||||
times.forEach(type => {
|
||||
this.$els[type].scrollTop = 24 * this.getScrollIndex(type, this[type]);
|
||||
});
|
||||
this.$nextTick(() => times.forEach(type => this.$els[type].style.overflow = 'auto'));
|
||||
});
|
||||
},
|
||||
formatTime (text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue