diff --git a/src/components/scrollpanel/ScrollPanel.vue b/src/components/scrollpanel/ScrollPanel.vue index 7a6287bd5..46ea0a6a3 100644 --- a/src/components/scrollpanel/ScrollPanel.vue +++ b/src/components/scrollpanel/ScrollPanel.vue @@ -153,7 +153,7 @@ export default { }, requestAnimationFrame(f) { let frame = window.requestAnimationFrame || this.timeoutFrame; - frame(f); + return frame(f); }, refresh() { this.moveBar();