🐛 fix: 优化代码

This commit is contained in:
wangsongsole 2024-01-10 14:26:26 +08:00
parent e37be7e62d
commit b7964b11e6
1 changed files with 1 additions and 1 deletions

View File

@ -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 {