首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
vue通过window.location和window.open跳转外部链接
vue通过window.location和window.open跳转外部链接
tech
2026-08-22
0
vue跳转外部链接
//这个方法会在跳转的时候再url前面添加原来的路径地址
let
routeUrl
=
this
.
row
.
html window
.
open
(
routeUrl
,
'_blank'
)
;
//这个只能在原来页面跳转。不会新开窗口
window
.
location
.
href
=
routeUrl
转载请注明原文地址:https://tech.qufami.com/read-28746.html
最新回复
(
0
)