💪 optimize: 优化代码
This commit is contained in:
parent
9213e2f70e
commit
e37be7e62d
|
@ -349,7 +349,7 @@
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
sessionStorage.setItem('orderNumber', res.data.order_number);
|
sessionStorage.setItem('orderNumber', res.data.order_number);
|
||||||
window.location.href = './coupon/lookCard.html';
|
window.location.replace('./coupon/lookCard.html');
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
}, 3000);
|
}, 3000);
|
||||||
} else if (!this.backAble && this.goodsDetail.restrict > 1) {
|
} else if (!this.backAble && this.goodsDetail.restrict > 1) {
|
||||||
|
|
Loading…
Reference in New Issue