|
scrollView下拉刷新为什么数据都不显示了
直接刷新页面就可以显示
- Model.prototype.modelLoad = function(event) {
- var leaveData = this.comp("leaveData");
- var number = this.getContext().getRequestParameter('number');
- $.ajax({
- async:"false",
- type:"post",
- url:"http://172.18.1.50:9080/pis/mobile/phone/findLeaveByCondition",
- dataType : "json",
- data:{NUMBER:number},
- success : function(result) {
- console.log(result);
- leaveData.loadData(result);
- }
- });
- };
复制代码 |
|