Parcourir la source

bug修复。uni.hideLoading真机下也会关掉uni.showToast。导致报错信息会被关掉

chenrui il y a 4 ans
Parent
commit
de4bf19176
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 5
      pagesA/giftCard/giftCard.vue

+ 0 - 5
pagesA/giftCard/giftCard.vue

@@ -81,12 +81,7 @@
 					})
 					return
 				}
-				uni.showLoading({
-					mask: true,
-					title: "正在充值..."
-				})
 				giftCardUseCard({ sequence: this.rechargeCode }).then(res => {
-					uni.hideLoading()
 					if(res.status == 200){
 						this.messagePop = true
 					}