vue 路由打开一个新页面的方法
let routeData =
this
.$router.resolve({
path:
"/about"
,
query: {
name:
'lei'
,
age: 18,
phoneNum:12345678901
}
});
window.open(routeData.href,
'_blank'
);
let routeData =
this
.$router.resolve({
path:
"/about"
,
query: {
name:
'lei'
,
age: 18,
phoneNum:12345678901
}
});
window.open(routeData.href,
'_blank'
);