let routeData =this.$router.resolve({
name: "searchGoods",
query: params,
params:{catId:params.catId}
});
window.open(routeData.href, '_blank');
let routeData =this.$router.resolve({
name: "searchGoods",
query: params,
params:{catId:params.catId}
});
window.open(routeData.href, '_blank');
本文标题:vue路由跳转新窗口写法
本文链接:https://www.haomeiwen.com/subject/fcvcdctx.html
网友评论