TimePicker: fix scrolltop error (#2054)

pull/2058/head
cinwell.li 2016-12-29 10:42:01 +08:00 committed by FuryBean
parent c639474fcc
commit 119188a634
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@
handleScroll(type) {
const ajust = {};
ajust[`${type}s`] = Math.min(Math.floor((this[`${type}Elm`].scrollTop - 80) / 32 + 3), 59);
ajust[`${type}s`] = Math.min(Math.floor((this[`${type}El`].scrollTop - 80) / 32 + 3), 59);
this.$emit('change', ajust);
},