forked from 77media/video-flow
新页面去看
This commit is contained in:
parent
f31331e193
commit
427e51b818
@ -153,6 +153,6 @@ export function redirectToCheckout(checkoutUrl: string) {
|
|||||||
*/
|
*/
|
||||||
export function redirectToPortal(portalUrl: string) {
|
export function redirectToPortal(portalUrl: string) {
|
||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
window.location.href = portalUrl;
|
window.open(portalUrl, '_blank');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user