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