mui('#pullrefresh').pullRefresh().endPullupToRefresh(true);
1***@qq.com
- 发布:2018-12-11 13:59
- 更新:2019-10-29 23:51
- 阅读:7145
执行mui('#pullrefresh').pullRefresh().endPullupToRefresh(true);后怎么再一次激活pullRefresh方法
分类:MUI
3 个回复
1***@qq.com (作者) - 90后IT男
因为是同一个列表,筛选条件不同而已,如果一个筛选条件下拉到最后一页需要执行mui('#pullrefresh').pullRefresh().endPullupToRefresh(true);关闭正在加载... ,但是接着换另外一个筛选条件就没办法再下拉加载了
1***@qq.com (作者) - 90后IT男
找到了 是通过mui('#pullrefresh').pullRefresh().refresh(true); 重新执行上拉加载
5***@qq.com - 平凡程序员
执行后会提示错误:Uncaught TypeError: Cannot read property 'classList' of undefined at js/mui.min.js:8