// scrollTo(x:Integer, y:Integer, animate:Boolean) scroll to a position in scroller content
let scroller = this.$refs.refScroller // scroller的ref
scroller.scrollTo(0, 0, true)
vue-scroller回到顶部
最新推荐文章于 2024-07-11 17:32:07 发布
// scrollTo(x:Integer, y:Integer, animate:Boolean) scroll to a position in scroller content
let scroller = this.$refs.refScroller // scroller的ref
scroller.scrollTo(0, 0, true)