🐛 fix: 优化代码
This commit is contained in:
parent
e37be7e62d
commit
b7964b11e6
|
@ -407,7 +407,7 @@
|
||||||
.then(({ data, code, }) => {
|
.then(({ data, code, }) => {
|
||||||
if (code === 200) {
|
if (code === 200) {
|
||||||
sessionStorage.setItem('orderNumber', data[0].order_number);
|
sessionStorage.setItem('orderNumber', data[0].order_number);
|
||||||
window.location.href = './coupon/lookCard.html';
|
window.location.replace('./coupon/lookCard.html');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue