소스 검색

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

chenrui 4 년 전
부모
커밋
de4bf19176
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  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
 					}