window.open(“https://mp.weixin.qq.com/cgi-bin/componentloginpage”);
火狐浏览器window.open出现拦截弹层
最后采用setTimeout解决
亲测有效
setTimeout(() => {
window.open("https://mp.weixin.qq.com/cgi-bin/componentloginpage");
}, 100);
window.open(“https://mp.weixin.qq.com/cgi-bin/componentloginpage”);
火狐浏览器window.open出现拦截弹层
最后采用setTimeout解决
亲测有效
setTimeout(() => {
window.open("https://mp.weixin.qq.com/cgi-bin/componentloginpage");
}, 100);