BScroll 的运用 (vue中)

this.$nextTick(() => {
if (!this.scroll) {
this.scroll = new BScroll(this.$refs.shopcartList, {
click: true
})
} else {
this.scroll.refresh()
}
})

 

posted @ 2017-10-30 20:01  summercyz  阅读(2294)  评论(0编辑  收藏  举报