vue通过window.location和window.open跳转外部链接
vue跳转外部链接//这个方法会在跳转的时候再url前面添加原来的路径地址let routeUrl = this.row.htmlwindow.open(routeUrl, '_blank');//这个只能在原来页面跳转。不会新开窗口window.location.href=routeUrl...
·
vue跳转外部链接
//这个方法会在跳转的时候再url前面添加原来的路径地址
let routeUrl = this.row.html
window.open(routeUrl, '_blank');
//这个只能在原来页面跳转。不会新开窗口
window.location.href=routeUrl
更多推荐
已为社区贡献10条内容
所有评论(0)