setTimeout(function() {
mui.init({
pullRefresh: {
container: '#refreshContainer',
down: {
style: 'circle',
auto:true,
callback: function() {
alert("调用成功")
$scope.refreshData();
}
},
up: {
contentrefresh: '正在加载...',
callback: function() {
$scope.loadData();
}
}
}
});
}, 500);
<div class="mui-content mui-scroll-wrapper" id="refreshContainer">
<div class="mui-scroll">
mui.init的下拉上拉的回调函数进不去,alert无法输出,导致页面没有上下拉的功能,请问是怎么回事啊??
0 个回复