JS异步请求跳转新标签页被浏览器拦截

// 用户点击时执行
var newWindow= window.open('about:blank'); 

// 异步获取res.url成功后执行
newWindow.location.href =res.url
posted @ 2021-07-12 18:43  Frank-f  阅读(207)  评论(0编辑  收藏  举报