fix :修复包码

This commit is contained in:
zhangds 2024-02-22 19:50:20 +08:00
parent bdccdfd674
commit 6c03b1ed5e
2 changed files with 2 additions and 4 deletions

View File

@ -84,8 +84,6 @@
/* 获取详情 */ /* 获取详情 */
function getInfo() { function getInfo() {
const orderNumber = sessionStorage.getItem('orderNumber'); const orderNumber = sessionStorage.getItem('orderNumber');
console.log("orderNumber =>", orderNumber)
return
req.axiosGet(`/key/order/detail/${orderNumber}`).then(res => { req.axiosGet(`/key/order/detail/${orderNumber}`).then(res => {
if (res.code == 200) { if (res.code == 200) {
const { product_name, update_time, status, show_url, account, create_time, use_coupon } = res.data; const { product_name, update_time, status, show_url, account, create_time, use_coupon } = res.data;

View File

@ -252,9 +252,9 @@
*/ */
const clr = setTimeout(() => { const clr = setTimeout(() => {
if (state.goodsInfo.product_type === 2) { if (state.goodsInfo.product_type === 2) {
window.location.href = './orderDetails/cardOrder.html'; window.location.href = '../orderDetails/cardOrder.html';
} else { } else {
window.location.href = './orderDetails/chargerOrder.html'; window.location.href = '../orderDetails/chargerOrder.html';
} }
clearTimeout(clr); clearTimeout(clr);
}, 1000); }, 1000);