Ver Fonte

优化catch

zhengjinyi há 5 anos atrás
pai
commit
a000c1712f
59 ficheiros alterados com 263 adições e 265 exclusões
  1. 3 3
      App.vue
  2. 2 2
      components/cm-module/listTemplate/buyagainList.vue
  3. 3 5
      components/cm-module/listTemplate/commodityList.vue
  4. 2 2
      components/cm-module/listTemplate/immediatelyList.vue
  5. 2 2
      components/cm-module/modelAlert/shareAlert.vue
  6. 4 4
      components/cm-module/productDetails/evaluate.vue
  7. 4 4
      components/cm-module/productDetails/recommend.vue
  8. 2 2
      components/seller/user.vue
  9. 4 4
      market/pages/address/address.vue
  10. 2 2
      market/pages/address/addressManage.vue
  11. 2 2
      market/pages/cart/buyagain.vue
  12. 8 8
      market/pages/cart/cart.vue
  13. 2 2
      market/pages/cart/immediately.vue
  14. 4 4
      market/pages/club/allClub-list.vue
  15. 4 4
      market/pages/club/club-list.vue
  16. 4 4
      market/pages/club/list.vue
  17. 4 4
      market/pages/login/apply.vue
  18. 4 4
      market/pages/login/information.vue
  19. 2 2
      market/pages/login/login.vue
  20. 6 6
      market/pages/login/register.vue
  21. 3 3
      market/pages/order/create-order.vue
  22. 7 7
      market/pages/order/order-details.vue
  23. 4 4
      market/pages/order/order-history.vue
  24. 10 10
      market/pages/order/order-list.vue
  25. 2 2
      market/pages/order/order-sharedetails.vue
  26. 14 14
      market/pages/search/search-order.vue
  27. 5 5
      pages/goods/product.vue
  28. 8 8
      pages/login/apply.vue
  29. 5 5
      pages/login/bindOperator.vue
  30. 4 4
      pages/login/bindemail.vue
  31. 4 4
      pages/login/bindwechat.vue
  32. 8 8
      pages/login/information.vue
  33. 2 2
      pages/login/login.vue
  34. 8 8
      pages/login/password.vue
  35. 10 10
      pages/login/register.vue
  36. 16 16
      pages/search/search-order.vue
  37. 4 4
      pages/search/search.vue
  38. 2 2
      pages/service/aftersale.vue
  39. 2 2
      pages/service/organagree.vue
  40. 2 2
      pages/service/privacyagree.vue
  41. 2 2
      pages/service/shoppingnotice.vue
  42. 2 2
      pages/service/useragree.vue
  43. 8 8
      pages/tabBar/cart/cart.vue
  44. 2 2
      pages/tabBar/category/category.vue
  45. 3 3
      pages/tabBar/home/home.vue
  46. 2 2
      pages/tabBar/user/user.vue
  47. 2 2
      pages/user/about/about.vue
  48. 4 4
      pages/user/account/account.vue
  49. 4 4
      pages/user/address/address.vue
  50. 2 2
      pages/user/address/addressManage.vue
  51. 4 4
      pages/user/invoice/invoice.vue
  52. 2 2
      pages/user/operator/addoperator.vue
  53. 8 8
      pages/user/operator/list.vue
  54. 3 3
      pages/user/order/create-order.vue
  55. 9 9
      pages/user/order/order-details.vue
  56. 12 12
      pages/user/order/order-list.vue
  57. 2 2
      pages/user/order/order-logistics.vue
  58. 2 2
      pages/user/order/order-sharedetails.vue
  59. 2 2
      pages/user/regularPurchase/regularPurchase.vue

+ 3 - 3
App.vue

@@ -68,11 +68,11 @@
 							uni.removeStorageSync('sessionid')
 							uni.setStorageSync('sessionid','JSESSIONID='+response.data.sessionId)
 							this.$store.commit('updateStatus',response.data)
-						}).catch(response =>{
+						}).catch(error =>{
 							this.logout()
 							uni.removeStorageSync('sessionid')
-							uni.setStorageSync('sessionid','JSESSIONID='+response.data)
-							this.$store.commit('updateStatus',response.data)
+							uni.setStorageSync('sessionid','JSESSIONID='+error.data)
+							this.$store.commit('updateStatus',error.data)
 						})
 					})
 				})

+ 2 - 2
components/cm-module/listTemplate/buyagainList.vue

@@ -159,8 +159,8 @@
 							this.isShowEmpty = true;
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			operationHanld(prop){

+ 3 - 5
components/cm-module/listTemplate/commodityList.vue

@@ -118,10 +118,8 @@
 			getListFromServer(loadMore) {
 				this.$api.getStorage().then((resolve) =>{
 					this.userID = resolve.userID ? resolve.userID : '';
-					console.log('22222222222222')
 					this.getQueryGoodslist(loadMore)
-				}).catch(resolve =>{
-					console.log('22222222222222')
+				}).catch(error =>{
 					this.getQueryGoodslist(loadMore)
 				})
 			},
@@ -172,8 +170,8 @@
 							self.showEmpty = true;
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			operationHanld(prop){

+ 2 - 2
components/cm-module/listTemplate/immediatelyList.vue

@@ -179,8 +179,8 @@
 						this.isShowEmpty = true;
 						this.isShowEmptyText ='暂无相关商品'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			searchOpertor(){//搜索商品

+ 2 - 2
components/cm-module/modelAlert/shareAlert.vue

@@ -42,9 +42,9 @@
 				queryOrderShareCode({orderID:res}).then(response =>{
 					this.shareCode = response.data
 					this.$parent.shareCode = this.shareCode;
-				}).catch(response =>{
+				}).catch(error =>{
 					this.$parent.isShareModal = false;
-					this.$util.modal('提示',response.msg,'确定','',false,() =>{})
+					this.$util.modal('提示',error.msg,'确定','',false,() =>{})
 				})
 			},
 			hideConfirm(){

+ 4 - 4
components/cm-module/productDetails/evaluate.vue

@@ -91,8 +91,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			getOnReachBottomData(){
@@ -114,8 +114,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {

+ 4 - 4
components/cm-module/productDetails/recommend.vue

@@ -79,8 +79,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			getOnReachBottomData(){
@@ -101,8 +101,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {

+ 2 - 2
components/seller/user.vue

@@ -163,8 +163,8 @@
 						this.shippedCount = this.showBadge(sellerData.shippedCount)//已发货	
 						this.refundsCount = this.showBadge(sellerData.refundsCount)//退货/款	
 						this.skeletonShow = false;
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})	
 			},

+ 4 - 4
market/pages/address/address.vue

@@ -114,8 +114,8 @@
 								this.isLoadMore = true;
 							}
 						}
-					}).catch(response =>{
-						this.$util.msg(res.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 				
@@ -145,8 +145,8 @@
 							this.addressList = [];
 							this.initAddressList();
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000);
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000);
 						setTimeout(function(){
 							uni.switchTab({
 								url:'/market/pages/home/home'

+ 2 - 2
market/pages/address/addressManage.vue

@@ -148,8 +148,8 @@
 					setTimeout(()=>{
 						uni.navigateBack();
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 					setTimeout(function(){
 						uni.switchTab({
 							url:'/market/pages/index/index'

+ 2 - 2
market/pages/cart/buyagain.vue

@@ -136,8 +136,8 @@
 					this.$util.msg('加入购物车成功',1500,true,'success')
 					this.getClubProductNum()
 					setTimeout(() => {this.specClass = 'none'}, 200)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			hanldToCartPage(){

+ 8 - 8
market/pages/cart/cart.vue

@@ -206,8 +206,8 @@
 						this.goodsList = [];
 						this.isEmpty =true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},		
 			getOnReachBottomData(){//上拉加载
@@ -227,8 +227,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			ischeck(item,pro){//为未选中的时候改变为true,反之为true
@@ -396,8 +396,8 @@
 				sellerAddProductNum(params).then(response =>{
 					this.isshowDelbtn = false;
 					this.initGetCartGoodsList();
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			 },
 			toConfirmation(){//跳转确认订单页面
@@ -474,8 +474,8 @@
 								this.isshowDelbtn = false;
 								this.initGetCartGoodsList();
 							},2000)
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000)
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000)
 						})
 					})
 				}

+ 2 - 2
market/pages/cart/immediately.vue

@@ -136,8 +136,8 @@
 					this.$util.msg('加入购物车成功',1500,true,'success')
 					this.getClubProductNum()
 					setTimeout(() => {this.specClass = 'none'}, 200)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			hanldToCartPage(){

+ 4 - 4
market/pages/club/allClub-list.vue

@@ -130,8 +130,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},	
 			getOnReachBottomData(){
@@ -153,8 +153,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			goOperator(item){

+ 4 - 4
market/pages/club/club-list.vue

@@ -127,8 +127,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},	
 			getOnReachBottomData(){
@@ -150,8 +150,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			onShowClose () {//输入框失去焦点时触发

+ 4 - 4
market/pages/club/list.vue

@@ -156,8 +156,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},	
 			getOnReachBottomData(){
@@ -179,8 +179,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			tabClick(index) {//tab切换

+ 4 - 4
market/pages/login/apply.vue

@@ -366,8 +366,8 @@ import { mapMutations } from 'vuex';
 						case '2':this.current = 1;this.isDepartment=true;break;
 						case '3':this.current = 2;this.isDepartment=true;break;
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			organizationUpdateInfo(){//提交审核
@@ -419,8 +419,8 @@ import { mapMutations } from 'vuex';
 							delta: 1
 						});
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			// 三级联动选择

+ 4 - 4
market/pages/login/information.vue

@@ -378,8 +378,8 @@
 						case '2':this.current = 1;this.isDepartment=true;break;
 						case '3':this.current = 2;this.isDepartment=true;break;
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			organizationUpdateInfo(){//提交审核
@@ -432,8 +432,8 @@
 							delta: 1
 						});
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			// 三级联动选择

+ 2 - 2
market/pages/login/login.vue

@@ -94,10 +94,10 @@
 								this.isSeller= true
 								this.iseErrorAlert= true
 							}
-						}).catch(response =>{
+						}).catch(error =>{
 							this.logout()
 							uni.removeStorageSync('sessionid')
-							uni.setStorageSync('sessionid','JSESSIONID='+response.data)
+							uni.setStorageSync('sessionid','JSESSIONID='+error.data)
 							this.isSeller= true
 						})
 					})

+ 6 - 6
market/pages/login/register.vue

@@ -313,8 +313,8 @@
 				}
 				sellerClubCheck({mobileOrEmail:this.registerEmail}).then(response =>{
 					this.$util.msg(response.data,2000);
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			registerCheckMobile(){
@@ -328,8 +328,8 @@
 				}
 				sellerClubCheck({mobileOrEmail:this.registerMobile}).then(response =>{
 					this.$util.msg(response.data,2000);
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			registerStepsSub(){
@@ -361,8 +361,8 @@
 							delta: 1
 						});
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			showMulLinkageThreePicker() {//三级地址联动

+ 3 - 3
market/pages/order/create-order.vue

@@ -137,8 +137,8 @@
 						this.isRequest = true
 						this.goodsData = resData.shopList
 						this.userMoney = resData.userMoney
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -291,7 +291,7 @@
 					}else{
 						this.$util.msg(response.msg,2000);
 					}
-				}).catch(response =>{})
+				}).catch(error =>{})
 			},
 			handFreightAlertShow(){//显示邮费弹窗
 				this.isfreightTip = true;

+ 7 - 7
market/pages/order/order-details.vue

@@ -122,7 +122,7 @@
 					this.discernReceiptList = resData.discernReceiptList
 					this.receiptAmount = resData.order.receiptAmount
 					this.returnedPurchaseFee = resData.order.returnedPurchaseFee
-				}).catch(response =>{
+				}).catch(error =>{
 					this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
 						this.$api.switchTabTo('/market/pages/index/index')
 					})
@@ -149,8 +149,8 @@
 					affirmOrder({orderID:this.orderID}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.initOrderDetaileData()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -165,8 +165,8 @@
 								this.$api.navigateTo(`/market/pages/order/order-list?type=detele&listType=${this.listType}`)
 							}
 						},500)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -175,8 +175,8 @@
 					cancelOrder({orderID:this.orderID}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.initOrderDetaileData()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 4 - 4
market/pages/order/order-history.vue

@@ -88,8 +88,8 @@
 						}else{
 							this.isEmpty = true
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},	
@@ -113,8 +113,8 @@
 								this.nomoreText = '已至底部'
 							}
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 10 - 10
market/pages/order/order-list.vue

@@ -246,8 +246,8 @@
 									this.nomoreText = '已至底部'
 								}
 							}
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000);
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000);
 						})
 					})
 				}, 600);	
@@ -270,8 +270,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {
@@ -309,8 +309,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -321,8 +321,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -333,8 +333,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 2 - 2
market/pages/order/order-sharedetails.vue

@@ -93,8 +93,8 @@
 							}
 						})
 					})
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			queryLogistics(){//跳转查询物流页面

+ 14 - 14
market/pages/search/search-order.vue

@@ -170,8 +170,8 @@
 						}else{
 							this.isSearchHistory = false
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})	
 			},
@@ -199,8 +199,8 @@
 					clearOrderHistory({userId:this.userID}).then(response =>{
 						this.$util.msg('删除记录成功',2000,true,'success')
 						this.serachRecordList=[]
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -252,8 +252,8 @@
 					}else{
 						this.isShowEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			}, 
 			getOnReachBottomData(index){//上拉加载
@@ -273,8 +273,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {
@@ -313,8 +313,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -325,8 +325,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -337,8 +337,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 5 - 5
pages/goods/product.vue

@@ -358,8 +358,8 @@
 					if(this.stock == 0){
 						this.disabledText = '售罄'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			swiperChange(e) {//顶部商品图片切换
@@ -493,8 +493,8 @@
 					setTimeout(() => {this.specClass = 'none'}, 200)
 					setTimeout(() => {this.isAnimation = false},2000)
 					this.goodsData.cartCount = response.data;
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			navToLogin(){
@@ -567,7 +567,7 @@
 				} else {
 					this.initData();
 				}
-			}).catch(resolve =>{
+			}).catch(error =>{
 				this.initData();
 			})
 		}

+ 8 - 8
pages/login/apply.vue

@@ -411,8 +411,8 @@ import { mapMutations } from 'vuex';
 							case '2':this.current = 1;this.isDepartment=true;break;
 							case '3':this.current = 2;this.isDepartment=true;break;
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -466,8 +466,8 @@ import { mapMutations } from 'vuex';
 					setTimeout(()=>{
 						this.$api.switchTabTo('/pages/tabBar/home/home')
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			getMobileCodeFn(){
@@ -499,8 +499,8 @@ import { mapMutations } from 'vuex';
 			        		}
 			       		},1000)
 			      	}		
-				}).catch( response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isMobileDisabled = false;
 				})
 			},
@@ -533,8 +533,8 @@ import { mapMutations } from 'vuex';
 			        		}
 			       		},1000)
 			      	}
-				}).catch( response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isNewMobileDisabled = false;
 				})
 			},

+ 5 - 5
pages/login/bindOperator.vue

@@ -123,12 +123,12 @@
 							}else{
 								this.$api.switchTabTo('/pages/tabBar/home/home')
 							}
-						}).catch(response =>{
+						}).catch(error =>{
 							this.logout()
 							this.isUserInfo = true
 							uni.removeStorageSync('sessionid')
-							uni.setStorageSync('sessionid','JSESSIONID='+response.data)
-							this.$store.commit('updateStatus',response.data)
+							uni.setStorageSync('sessionid','JSESSIONID='+error.data)
+							this.$store.commit('updateStatus',error.data)
 						})
 					})
 				})
@@ -228,8 +228,8 @@
 						sellerBindingOperation(params).then(response =>{
 							this.login(response.data)
 							this.$api.switchTabTo('/pages/tabBar/home/home')
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000)
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000)
 							this.isUserInfo = true
 						})			
 					}

+ 4 - 4
pages/login/bindemail.vue

@@ -85,8 +85,8 @@
 					}else{
 						this.$api.navigateTo(`/pages/login/bindwechat?data=${JSON.stringify(this.getOption)}&type=${this.loginType}`)
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			bindEmailNone(){
@@ -125,8 +125,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isEmialDisabled = false;
 				})
 			}

+ 4 - 4
pages/login/bindwechat.vue

@@ -178,8 +178,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000)
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000)
 					this.isMobileDisabled = false;
 				})
 			},
@@ -199,8 +199,8 @@
 						bindingWechat(params).then(response =>{
 							wxLogin.wxLoginAuthorize()
 							this.$api.switchTabTo('/pages/tabBar/user/user')
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000)
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000)
 						})							
 					}
 				})

+ 8 - 8
pages/login/information.vue

@@ -428,8 +428,8 @@
 							case '2':this.current = 1;this.isDepartment=true;break;
 							case '3':this.current = 2;this.isDepartment=true;break;
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -483,8 +483,8 @@
 					setTimeout(()=>{
 						this.$api.switchTabTo('/pages/tabBar/user/user')
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			getMobileCodeFn(){
@@ -516,8 +516,8 @@
 			        		}
 			       		},1000)
 			      	}		
-				}).catch( response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isMobileDisabled = false;
 				})
 			},
@@ -550,8 +550,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isNewMobileDisabled = false;
 				})
 			},

+ 2 - 2
pages/login/login.vue

@@ -62,8 +62,8 @@
 						invitationCodeLogin(params).then(response =>{
 							this.login(response.data)
 							this.$api.switchTabTo('/pages/tabBar/home/home')
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000)
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000)
 							this.isUserInfo = false
 						})
 					}

+ 8 - 8
pages/login/password.vue

@@ -155,8 +155,8 @@
 							delta: 1
 						});
 					},2000)
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			confirmEmailPassword(){//邮箱修改密码
@@ -174,8 +174,8 @@
 							delta: 1
 						});
 					},2000)
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			getVerificationCode(){//图形验证
@@ -212,8 +212,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isEmialDisabled = false;
 				})
 			},
@@ -256,8 +256,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isMobileDisabled = false;
 				})
 			},

+ 10 - 10
pages/login/register.vue

@@ -397,8 +397,8 @@
 				organizationVerifyRegisterFirst(params).then(res =>{
 					this.tabCurrentIndex = 2
 					this.getVerificationCode()
-				}).catch(res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			registerStepsTwo(){
@@ -411,8 +411,8 @@
 				}
 				organizationVerifyRegisterTwo(params).then(res =>{
 					this.tabCurrentIndex = 3
-				}).catch(res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			registerStepsSub(){
@@ -450,8 +450,8 @@
 					setTimeout(()=>{
 						this.$api.switchTabTo('/pages/tabBar/home/home')
 					},2000)
-				}).catch(res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			getEmailCodeFn(){
@@ -482,8 +482,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isEmialDisabled = false;
 				})
 			},
@@ -526,8 +526,8 @@
 			        		}
 			       		},1000)
 			      	}
-				}).catch( response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch( error =>{
+					this.$util.msg(error.msg,2000);
 					this.isMobileDisabled = false;
 				})
 			},

+ 16 - 16
pages/search/search-order.vue

@@ -175,8 +175,8 @@
 						}else{
 							this.isSearchHistory = false
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})	
 			},
@@ -204,8 +204,8 @@
 					clearOrderHistory({userId:this.userID}).then(response =>{
 						this.$util.msg('删除记录成功',2000,true,'success')
 						this.serachRecordList=[]
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -257,8 +257,8 @@
 					}else{
 						this.isShowEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			}, 
 			getOnReachBottomData(index){//上拉加载
@@ -278,8 +278,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {
@@ -323,8 +323,8 @@
 					confirmReceipt({orderID:id}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.getOrderDatainit()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -335,8 +335,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -347,8 +347,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -359,8 +359,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit()
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 4 - 4
pages/search/search.vue

@@ -165,8 +165,8 @@
 							this.showEmpty = true;
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			onShowClose () {//输入框失去焦点时触发
@@ -193,8 +193,8 @@
 					clearSearchHistory({userId:this.userID}).then(response =>{
 						this.$util.msg('删除成功',2000,true,'success')
 						this.serachRecordList=[];
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 2 - 2
pages/service/aftersale.vue

@@ -29,8 +29,8 @@
 						let html = this.$api.adaptRichTextImg(_data[type]);
 						this.$refs.childTemplate.html = html;
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			}
 		}

+ 2 - 2
pages/service/organagree.vue

@@ -27,8 +27,8 @@
 				protocolAgree({helpPageID:1036}).then(response =>{
 					let data =response.data.content
 					self.$refs.childTemplate.html = self.$api.adaptRichTextImg(data);
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			}
 		}

+ 2 - 2
pages/service/privacyagree.vue

@@ -27,8 +27,8 @@
 				protocolAgree({helpPageID:1013}).then(response =>{
 					let data =response.data.content
 					self.$refs.childTemplate.html = self.$api.adaptRichTextImg(data);
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			}
 		}

+ 2 - 2
pages/service/shoppingnotice.vue

@@ -32,8 +32,8 @@
 						let html = self.$api.adaptRichTextImg(_data[type]);
 						self.$refs.childTemplate.html = html;
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			}
 		}

+ 2 - 2
pages/service/useragree.vue

@@ -27,8 +27,8 @@
 				protocolAgree({helpPageID:1023}).then(response =>{
 					let data =response.data.content
 					self.$refs.childTemplate.html = self.$api.adaptRichTextImg(data);
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			}
 		}

+ 8 - 8
pages/tabBar/cart/cart.vue

@@ -219,8 +219,8 @@
 						this.goodsList = [];
 						this.isEmpty =true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},		
 			getOnReachBottomData(){//上拉加载
@@ -240,8 +240,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			ischeck(item,pro){//为未选中的时候改变为true,反之为true
@@ -448,8 +448,8 @@
 				shoppingCartUpdate(params).then(response =>{
 					this.isshowDelbtn = false;
 					this.initGetCartGoodsList();
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			 },
 			toConfirmation(){//跳转确认订单页面
@@ -544,8 +544,8 @@
 								this.isshowDelbtn = false;
 								this.initGetCartGoodsList();
 							},2000)
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000)
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000)
 						})
 					})
 				}

+ 2 - 2
pages/tabBar/category/category.vue

@@ -73,8 +73,8 @@
 							break;
 						}
 					}
-				}).catch(res =>{
-					this.$util.msg(res.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			showCategory(e,index){//分类切换显示

+ 3 - 3
pages/tabBar/home/home.vue

@@ -215,12 +215,12 @@
 							if(response.data.userIdentity ==1){
 								this.$api.navigateTo('/market/pages/index/index')
 							}
-						}).catch(response =>{
+						}).catch(error =>{
 							this.isLogin = false;
 							this.logout()
 							uni.removeStorageSync('sessionid')
-							uni.setStorageSync('sessionid','JSESSIONID='+response.data)
-							this.$store.commit('updateStatus',response.data)
+							uni.setStorageSync('sessionid','JSESSIONID='+error.data)
+							this.$store.commit('updateStatus',error.data)
 						})
 					})
 				})

+ 2 - 2
pages/tabBar/user/user.vue

@@ -190,8 +190,8 @@
 						key: 'clubInfo',  
 						data: clubInfo  
 					}) 
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			toPhone(){

+ 2 - 2
pages/user/about/about.vue

@@ -31,8 +31,8 @@
 						let html = this.$api.adaptRichTextImg(_data[type]);
 						this.$refs.childTemplate.html = html;
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			}
 		}

+ 4 - 4
pages/user/account/account.vue

@@ -158,8 +158,8 @@
 								this.nomoreText = '已至底部'
 							}
 						}
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})	
 			},	
@@ -182,8 +182,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			initAbleUserMoney(money){//拆分金额并转千分位格式显示

+ 4 - 4
pages/user/address/address.vue

@@ -112,8 +112,8 @@
 							this.isLoadMore = true;
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(res.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			//选择地址
@@ -141,8 +141,8 @@
 							this.addressList = [];
 							this.initAddressList();
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000);
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000);
 						setTimeout(function(){
 							uni.switchTab({
 								url:'/pages/tabBar/home/home'

+ 2 - 2
pages/user/address/addressManage.vue

@@ -150,8 +150,8 @@
 					setTimeout(()=>{
 						uni.navigateBack();
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 					this.btnText(false)
 				})
 			},

+ 4 - 4
pages/user/invoice/invoice.vue

@@ -140,8 +140,8 @@
 						this.invoiceData.phoneNum = resData.registeredPhone;
 						this.invoiceData.address = resData.registeredAddress;
 						this.inputBankNum(resData.bankAccountNo);
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000);
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000);
 					})
 				})
 			},
@@ -158,8 +158,8 @@
 							delta: 1
 						})
 					},1100)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})	
 			}
 		}

+ 2 - 2
pages/user/operator/addoperator.vue

@@ -66,8 +66,8 @@
 					setTimeout(() =>{
 						uni.navigateBack();
 					},2000)
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			}
 		},

+ 8 - 8
pages/user/operator/list.vue

@@ -161,8 +161,8 @@
 					}else{
 						this.isEmpty = true
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},	
 			getOnReachBottomData(){
@@ -184,8 +184,8 @@
 							this.nomoreText = '已至底部'
 						}
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			showOperatorModel(item){
@@ -200,8 +200,8 @@
 					deleteOperator({id:id}).then(response =>{
 						this.$util.msg('删除成功',2000,true,'success')
 						this.initOperatorList()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -211,8 +211,8 @@
 						this.$util.msg('更新邀请码成功',2000)
 						this.isOperatorModel = false
 						this.initOperatorList()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 3 - 3
pages/user/order/create-order.vue

@@ -139,8 +139,8 @@
 					this.isRequest = true
 					this.goodsData = resData.shopList
 					this.userMoney = resData.userMoney
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			getFreightData(){//获取邮费信息
@@ -281,7 +281,7 @@
 					}else{
 						this.$util.msg(response.msg,2000);
 					}
-				}).catch(response =>{})
+				}).catch(error =>{})
 			},
 			handFreightAlertShow(){//显示邮费弹窗
 				this.isfreightTip = true;

+ 9 - 9
pages/user/order/order-details.vue

@@ -121,7 +121,7 @@
 					this.discernReceiptList = resData.discernReceiptList
 					this.receiptAmount = resData.order.receiptAmount
 					this.returnedPurchaseFee = resData.order.returnedPurchaseFee
-				}).catch(response =>{
+				}).catch(error =>{
 					this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
 						this.$api.switchTabTo('/pages/tabBar/home/home')
 					})
@@ -154,8 +154,8 @@
 					confirmReceipt({orderID:this.orderID}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.initOrderDetaileData()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -164,8 +164,8 @@
 					affirmOrder({orderID:this.orderID}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.initOrderDetaileData()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -180,8 +180,8 @@
 								this.$api.redirectTo(`/pages/user/order/order-list?type=detele&state=${this.state}`)
 							}
 						},500)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -190,8 +190,8 @@
 					cancelOrder({orderID:this.orderID}).then(response =>{
 						this.$util.msg(response.msg,2000,true,'success');
 						this.initOrderDetaileData()
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 12 - 12
pages/user/order/order-list.vue

@@ -245,8 +245,8 @@
 									this.nomoreText = '已至底部'
 								}
 							}
-						}).catch(response =>{
-							this.$util.msg(response.msg,2000);
+						}).catch(error =>{
+							this.$util.msg(error.msg,2000);
 						})
 					})
 				}, 600);	
@@ -269,8 +269,8 @@
 						this.pullUpOn = false
 						this.nomoreText = '已至底部'
 					}
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000)
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000)
 				})
 			},
 			scrolltolower() {
@@ -315,8 +315,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -327,8 +327,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -339,8 +339,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},
@@ -351,8 +351,8 @@
 						setTimeout(() => {
 							this.getOrderDatainit(this.currentTab)
 						},2000)
-					}).catch(response =>{
-						this.$util.msg(response.msg,2000)
+					}).catch(error =>{
+						this.$util.msg(error.msg,2000)
 					})
 				})
 			},

+ 2 - 2
pages/user/order/order-logistics.vue

@@ -159,8 +159,8 @@
 						})
 					})
 					this.goodsList = [...orderListArr];
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			}
 		}

+ 2 - 2
pages/user/order/order-sharedetails.vue

@@ -93,8 +93,8 @@
 							}
 						})
 					})
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			queryLogistics(){//跳转查询物流页面

+ 2 - 2
pages/user/regularPurchase/regularPurchase.vue

@@ -134,8 +134,8 @@
 					this.$util.msg(response.msg,1500,true,'success')
 					setTimeout(() => {this.specClass = 'none'}, 200)
 					this.$refs.productList.cartQuantity = response.data
-				}).catch(response =>{
-					this.$util.msg(response.msg,2000);
+				}).catch(error =>{
+					this.$util.msg(error.msg,2000);
 				})
 			},
 			discard(){