window.open防止被拦截

// 防止被拦截
let newWindow: any = window.open();
let domain = window.location.origin;
newWindow.location = domain + link;

转载于:https://www.cnblogs.com/aisiqi-love/p/10297850.html

你可能感兴趣的:(window.open防止被拦截)