Commit f109628a authored by Allen's avatar Allen Committed by GitHub

DatePicker: fix function name typo (#21663)

parent d6c269d4
...@@ -218,16 +218,16 @@ ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment