Parcourir la source

注释了查询失败提示

il y a 7 mois
Parent
commit
7e188e589a
1 fichiers modifiés avec 12 ajouts et 12 suppressions
  1. 12 12
      common/httpRequest.js

+ 12 - 12
common/httpRequest.js

@@ -227,10 +227,10 @@ module.exports = {
 								icon: 'none'
 							})
 						}else if (result.data.code !=0&&result.data.msg!='未进入公司') 
-							uni.showToast({
-								title: result.data.msg||'查询失败',
-								icon: 'none'
-							})
+							// uni.showToast({
+							// 	title: result.data.msg||'查询失败',
+							// 	icon: 'none'
+							// })
 						succ.call(self, result.data)
 					},
 					fail: function(e) {
@@ -249,10 +249,10 @@ module.exports = {
 					},
 					success: function(result) {
 						if (result.data.code !=0&&result.data.msg!='未进入公司')
-							uni.showToast({
-								title: result.data.msg||'查询失败',
-								icon: 'none'
-							})
+							// uni.showToast({
+							// 	title: result.data.msg||'查询失败.',
+							// 	icon: 'none'
+							// })
 						succ.call(self, result.data)
 					},
 					fail: function(e) {
@@ -292,10 +292,10 @@ module.exports = {
 							icon: 'none'
 						})
 					}else if (result.data.code !=0&&result.data.msg!='未进入公司') 
-							uni.showToast({
-								title: result.data.msg||'查询失败',
-								icon: 'none'
-							})
+							// uni.showToast({
+							// 	title: result.data.msg||'查询失败',
+							// 	icon: 'none'
+							// })
 					succ.call(self, result.data)
 				},
 				fail: function(e) {