miniblink49
miniblink49 copied to clipboard
创建新窗口OnCreateView获取不到跳转页面的链接
请教一下,使用创建新窗口时 OnCreateView 获取不到网页脚本 b() 方式的跳转链接,这样的跳转方式不支持吗? a()方法跳转能够正常获取到链接,能给个解决思路吗?
function a() { window.open('http://127.0.0.1:6699/test.html'); }
function b() { var b = window.open(); b.location.href = 'http://127.0.0.1:6699/test.html'; }
有个URL change的回调你可以试试