zhupeng 3 سال پیش
والد
کامیت
393785dd2c
2فایلهای تغییر یافته به همراه16 افزوده شده و 2 حذف شده
  1. 5 1
      pages/user/finance/refundDet.vue
  2. 11 1
      pages/user/finance/refundList.vue

+ 5 - 1
pages/user/finance/refundDet.vue

@@ -68,7 +68,11 @@
 								_self.refund.statusText = "退款失败"
 						}
 					},function(err){
-						console.log('err'+JSON.stringify(err));
+						uni.showToast({
+							title: err,
+							icon: "none"
+						})
+						//console.log('err'+JSON.stringify(err));
 					})
 					//console.log('item'+JSON.stringify(item))
 				

+ 11 - 1
pages/user/finance/refundList.vue

@@ -92,7 +92,11 @@
 				}
 				console.log('个人余额信息'+JSON.stringify(res));
 			},function(err){
-				console.log('个人信息余额错误'+JSON.stringify(err));
+				uni.showToast({
+					title: err,
+					icon: "none"
+				})
+				//console.log('err'+JSON.stringify(err));
 			});
 			let data = {pageIndex:1,pageSize:10};
 			api.personAccountRefundList(data).then(function(res){
@@ -117,6 +121,12 @@
 					}
 //					console.log('res'+JSON.stringify(_self.items));
 				}
+			},function(err){
+				uni.showToast({
+					title: err,
+					icon: "none"
+				})
+				//console.log('err'+JSON.stringify(err));
 			});
 		},
 		methods: {