🐛 fix: 修复bug
This commit is contained in:
parent
d8c97426a2
commit
c47937b13a
|
@ -158,7 +158,6 @@
|
|||
describe: {},
|
||||
detailUrl: '',
|
||||
successTip: '',
|
||||
order_number: 0,
|
||||
goodInfo: '',
|
||||
bgcolor: '',
|
||||
ftcolor: '',
|
||||
|
@ -239,11 +238,9 @@
|
|||
//刷新页面
|
||||
successchangeBtnFn () {
|
||||
if (this.goodInfo.product_type === 2 && this.goodInfo.card_show == 2) {
|
||||
localStorage.setItem("orderNumber", this.order_number);
|
||||
window.location.href = './coupon/lookCard.html';
|
||||
} else {
|
||||
window.location.replace(document.referrer);
|
||||
}
|
||||
window.location.replace(document.referrer);
|
||||
},
|
||||
|
||||
//兑换商品
|
||||
|
@ -338,8 +335,8 @@
|
|||
|
||||
if (this.goodInfo.product_type === 2) {
|
||||
if (this.goodInfo.card_show == 2) {
|
||||
localStorage.setItem("orderNumber", res.data.order_number);
|
||||
this.loading = true;
|
||||
this.order_number = res.data.order_number;
|
||||
this.successTip = '兑换成功!';
|
||||
setTimeout(() => {
|
||||
this.popboxshow = true;
|
||||
|
|
Loading…
Reference in New Issue