feat: 页面优化2
This commit is contained in:
parent
0d77c47a60
commit
8293761701
|
@ -204,15 +204,13 @@
|
||||||
case 4: // 支付失败
|
case 4: // 支付失败
|
||||||
case 5: // 订单关闭
|
case 5: // 订单关闭
|
||||||
default:
|
default:
|
||||||
// 移除return参数,刷新界面
|
// window.location.reload();
|
||||||
url.searchParams.delete('return');
|
|
||||||
window.location.href = url.toString();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
console.error('检查订单状态失败:', error);
|
console.error('检查订单状态失败:', error);
|
||||||
window.location.reload();
|
// window.location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue