fix:支付宝立减金领取,弹出提示

This commit is contained in:
Apple 2022-10-13 15:16:02 +08:00
parent 6f189fc737
commit 9d72d445ca
1 changed files with 12 additions and 12 deletions

View File

@ -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) => {});
},