移除多余代码

pull/733/head
lyswhut 2021-10-29 20:29:28 +08:00
parent e182dde718
commit 5e9a9e5b55
1 changed files with 2 additions and 2 deletions

View File

@ -229,8 +229,8 @@ export default {
}) })
}, },
scrollToIndex(index, offset = 0, animate = false, callback = () => {}) { scrollToIndex(index, offset = 0, animate = false) {
return this.scrollTo(Math.max(index * this.itemHeight + offset, 0), animate, callback) return this.scrollTo(Math.max(index * this.itemHeight + offset, 0), animate)
}, },
getScrollTop() { getScrollTop() {