移除多余代码
This commit is contained in:
parent
e182dde718
commit
5e9a9e5b55
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user