Browse Source

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

chenrui 4 năm trước cách đây
mục cha
commit
de4bf19176
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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
 					}