Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.8k views
in Technique[技术] by (71.8m points)

vue用的better-scroll,通过ref获取dom的,转到uniapp后不支持ref,有什么办法吗大家

` created(){
this.$nextTick(() => {
this.myScroll = new Bscroll(this.$refs.houseWrap, {
scrollY: true,
bounce: false,
click: true,
pullUpLoad: {
threshold: 744
}
})
})
},`


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (71.8m points)

uniapp不是有自己的下拉加载吗


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
...