新页面去看

This commit is contained in:
海龙 2025-08-28 18:29:32 +08:00
parent f31331e193
commit 427e51b818

View File

@ -153,6 +153,6 @@ export function redirectToCheckout(checkoutUrl: string) {
*/
export function redirectToPortal(portalUrl: string) {
if (typeof window !== 'undefined') {
window.location.href = portalUrl;
window.open(portalUrl, '_blank');
}
}