diff --git a/src/renderer/components/material/VirtualizedList.vue b/src/renderer/components/material/VirtualizedList.vue index 5a6a9e2e..6246756a 100644 --- a/src/renderer/components/material/VirtualizedList.vue +++ b/src/renderer/components/material/VirtualizedList.vue @@ -229,8 +229,8 @@ export default { }) }, - scrollToIndex(index, offset = 0, animate = false, callback = () => {}) { - return this.scrollTo(Math.max(index * this.itemHeight + offset, 0), animate, callback) + scrollToIndex(index, offset = 0, animate = false) { + return this.scrollTo(Math.max(index * this.itemHeight + offset, 0), animate) }, getScrollTop() {