超级简单的一个想法,重新加载数据即可
wxml
indrefresherrefresh=“onscroll”
jq
onscroll(e){
var that=this;
setTimeout(function(){
that.setData({
triggered: false,
})
that.onLoad()//重新调用页面加载数据
},2000);
},
超级简单的一个想法,重新加载数据即可
wxml
indrefresherrefresh=“onscroll”
jq
onscroll(e){
var that=this;
setTimeout(function(){
that.setData({
triggered: false,
})
that.onLoad()//重新调用页面加载数据
},2000);
},