From 9d72d445caed241be46dcdbf95593d1a0aefab1f Mon Sep 17 00:00:00 2001 From: Apple <> Date: Thu, 13 Oct 2022 15:16:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=94=AF=E4=BB=98=E5=AE=9D=E7=AB=8B?= =?UTF-8?q?=E5=87=8F=E9=87=91=E9=A2=86=E5=8F=96=EF=BC=8C=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alipay.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/alipay.html b/alipay.html index 11a9095..94e7c36 100644 --- a/alipay.html +++ b/alipay.html @@ -92,15 +92,15 @@ }, created() { //唤起支付宝授权,打开领取 - // this.openId = this.getQueryString( - // window.location.search, - // "alipayuserid" - // ); + this.openId = this.getQueryString( + window.location.search, + "alipayuserid" + ); let orderNumber = this.getQueryString( window.location.search, "orderNumber" ); - // this.orderNumber=orderNumber; + this.orderNumber=orderNumber; this.getOrderDetail(this.orderNumber); }, methods: { @@ -137,13 +137,13 @@ setTimeout(()=>{ this.disabledBtn = false; },2000) - // if (res.code == 200) { - // window.location.href = './advise.html' - // sessionStorage.setItem('messageTip', ''); - // } else { - // window.location.href = './advise.html' - // sessionStorage.setItem('messageTip', res.message); - // } + if (res.code == 200) { + window.location.href = './advise.html' + sessionStorage.setItem('messageTip', ''); + } else { + window.location.href = './advise.html' + sessionStorage.setItem('messageTip', res.message); + } }) .catch((err) => {}); },