<a id="reservedsure" class="consultation" @click.prevent="reservedSubmit()" >确定<i/></a> >
使用window.open火狐被拦截,求解
浏览器安全机制会拦截非用户直接点击的新开页面所以一般要请求后端后新开页面的地方都是 先开页面再赋值
cosnt win = window.open("") // request... http.then((url) => { win.location.href = url })
2.1m questions
2.1m answers
60 comments
57.0k users