Skip to content

Commit

Permalink
DatePicker: fix function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
justforuse committed Jan 24, 2022
1 parent 473ef53 commit 7097c29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/date-picker/src/basic/time-spinner.vue
Expand Up @@ -218,16 +218,16 @@
},
bindScrollEvent() {
const bindFuntion = (type) => {
const bindFunction = (type) => {
this.$refs[type].wrap.onscroll = (e) => {
// TODO: scroll is emitted when set scrollTop programatically
// should find better solutions in the future!
this.handleScroll(type, e);
};
};
bindFuntion('hours');
bindFuntion('minutes');
bindFuntion('seconds');
bindFunction('hours');
bindFunction('minutes');
bindFunction('seconds');
},
handleScroll(type) {
Expand Down

0 comments on commit 7097c29

Please sign in to comment.