baijunde 1 год назад
Родитель
Сommit
1493868c50
2 измененных файлов с 7 добавлено и 2 удалено
  1. 3 1
      pages/evaluate/evaluate.vue
  2. 4 1
      pages/order/index.vue

+ 3 - 1
pages/evaluate/evaluate.vue

@@ -193,7 +193,9 @@
 							this.appraiseList = this.appraiseList.concat(res.data.result.records)
 							this.mescroll.endSuccess(res.data.result.records.length, res.data.result.total);; // 结束下拉刷新状态
 						}
-					})
+					}).catch(() => {
+					this.mescroll.endErr()
+				})
 			},
 		},
 		onShow() {

+ 4 - 1
pages/order/index.vue

@@ -182,9 +182,12 @@
 						this.mescroll.endSuccess(res.data.result.records.length, res.data.result.total);
 						uni.showTabBar()
 					}
-					else{
+					else {
 						this.orderList = []
+						this.mescroll.endErr()
 					}
+				}).catch(() => {
+					this.mescroll.endErr()
 				})
 			},
 			geDetail(item) {