天天看点

vue-scroller回到顶部

// 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)