zhengjinyi пре 1 година
родитељ
комит
8787c1b576
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      pages/user/pay/card-order.vue

+ 3 - 2
pages/user/pay/card-order.vue

@@ -369,13 +369,12 @@ export default {
 					this.orderPayQuickPay()
 					break
 			}
-			this.isSubLoding = true
 		},
 		async orderPayQuickPay() {
 			//快捷支付
 			try {
 				this.quickParams.payAmount = this.payAmount
-				console.log('payAmount', this.quickParams.payAmount)
+				this.isSubLoding = true
 				const res = await this.PayService.orderPayQuickPay(this.quickParams)
 				const data = {
 					params: this.quickParams,
@@ -413,6 +412,7 @@ export default {
 					shopOrderId: this.shopOrderId,
 					payType: this.payType
 				}
+				this.isSubLoding = true
 				const res = await this.PayService.PayOrderPayLink(linkParams)
 				this.payHttpUrl = res.data
 				this.isSubLoding = false
@@ -441,6 +441,7 @@ export default {
 				code: wechatCode,
 				shopOrderId: this.shopOrderId
 			}
+			this.isSubLoding = true
 			this.weChatMiniOrderWxPay(params)
 			this.isSubLoding = false
 		},