feat: 页面优化2

This commit is contained in:
wolter 2025-07-21 13:58:16 +08:00
parent 0d77c47a60
commit 8293761701
1 changed files with 2 additions and 4 deletions

View File

@ -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();
}); });
} }