🐛 fix: 修复bug
This commit is contained in:
parent
e2a62a9bd3
commit
e5af3fea25
|
@ -239,6 +239,7 @@
|
||||||
successchangeBtnFn () {
|
successchangeBtnFn () {
|
||||||
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
|
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
|
||||||
this.popboxshow = false;
|
this.popboxshow = false;
|
||||||
|
this.maskshow = false;
|
||||||
window.location.href = './coupon/lookCard.html';
|
window.location.href = './coupon/lookCard.html';
|
||||||
} else {
|
} else {
|
||||||
window.location.replace(document.referrer);
|
window.location.replace(document.referrer);
|
||||||
|
@ -340,9 +341,10 @@
|
||||||
localStorage.setItem("orderNumber", res.data.order_number);
|
localStorage.setItem("orderNumber", res.data.order_number);
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.successTip = '兑换成功!';
|
this.successTip = '兑换成功!';
|
||||||
setTimeout(() => {
|
const clr = setTimeout(() => {
|
||||||
this.popboxshow = true;
|
this.popboxshow = true;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
clearTimeout(cls);
|
||||||
}, 3000);
|
}, 3000);
|
||||||
} else {
|
} else {
|
||||||
this.successTip = '兑换成功,请到注意查收手机短信!';
|
this.successTip = '兑换成功,请到注意查收手机短信!';
|
||||||
|
|
Loading…
Reference in New Issue