解决:
创造一个a标签并虚拟点击,形成跳转条件。
jumpToSomeWhere(url) {
let targetGun = document.createElement("a");
targetGun.href = res;
targetGun.click();
return;
}
创造一个a标签并虚拟点击,形成跳转条件。
jumpToSomeWhere(url) {
let targetGun = document.createElement("a");
targetGun.href = res;
targetGun.click();
return;
}