if (parseInt(data.data.totalPageCount) == currentPageNo) {
// console.log("结束。。。")
mui('#myOrderList').pullRefresh().endPullupToRefresh(true);
} else {
// console.log("继续。。")
mui('#myOrderList').pullRefresh().endPullupToRefresh(false);
currentPageNo += 1;
}
页面代码:
<div class="mui-content">
<div class="mui-scroll" id="myOrderList">
<ul class="mui-table-view">
</ul>
</div>
</div>
错误信息:
[ERROR] : TypeError: undefined is not an object (evaluating 'mui('#myOrderList').pullRefresh().endPullupToRefresh')
安卓机上测试没有问题,iphone上测试报错信息如上,求各位解决一下,多谢啦
1 个回复
DCloud_UNI_FXY
看hello-mui里的示例,保证dom结构一致