DatePicker: fix function name typo (#21663)

pull/21622/head
Allen 2022-04-11 17:09:37 +08:00 committed by GitHub
parent d6c269d4d0
commit f109628ad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -218,16 +218,16 @@
}, },
bindScrollEvent() { bindScrollEvent() {
const bindFuntion = (type) => { const bindFunction = (type) => {
this.$refs[type].wrap.onscroll = (e) => { this.$refs[type].wrap.onscroll = (e) => {
// TODO: scroll is emitted when set scrollTop programatically // TODO: scroll is emitted when set scrollTop programatically
// should find better solutions in the future! // should find better solutions in the future!
this.handleScroll(type, e); this.handleScroll(type, e);
}; };
}; };
bindFuntion('hours'); bindFunction('hours');
bindFuntion('minutes'); bindFunction('minutes');
bindFuntion('seconds'); bindFunction('seconds');
}, },
handleScroll(type) { handleScroll(type) {