列表查询错误处理

main
zhangqun 3 years ago
parent 7ebf6b4105
commit 140c691c36
  1. 7
      pages/bus/busDataInfo/list.vue
  2. 9
      pages/portShipping/pilotStation/list.vue
  3. 7
      pages/roadTransport/dataSubmission/list.vue
  4. 7
      pages/roadTransport/transportData/list.vue

@ -123,7 +123,14 @@
}else{
this.status = 'more';
}
uni.stopPullDownRefresh();
} else {
this.status = 'more';
uni.stopPullDownRefresh();
}
}).catch(() => {
this.status = 'more';
uni.stopPullDownRefresh();
})
}
},

@ -120,10 +120,15 @@
if(res.data.list.length == 0 || res.data.list.length < this.size){
this.hasMore = false;
this.status = 'nomore';
}else{
this.status = 'more';
}
uni.stopPullDownRefresh();
}else{
this.status = 'more';
uni.stopPullDownRefresh();
}
}).catch(() => {
this.status = 'more';
uni.stopPullDownRefresh();
})
}
},

@ -139,7 +139,14 @@
}else{
this.status = 'more';
}
uni.stopPullDownRefresh();
}else{
this.status = 'more';
uni.stopPullDownRefresh();
}
}).catch(() => {
this.status = 'more';
uni.stopPullDownRefresh();
})
}
},

@ -247,7 +247,14 @@
}else{
this.status = 'more';
}
uni.stopPullDownRefresh();
}else{
this.status = 'more';
uni.stopPullDownRefresh();
}
}).catch(() => {
this.status = 'more';
uni.stopPullDownRefresh();
})
}

Loading…
Cancel
Save