Vue 路由新开页跳转
Posted swt-axios
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vue 路由新开页跳转相关的知识,希望对你有一定的参考价值。
chenkHandle(row){
//原页打开
// this.$router.push({path:‘/duocai/detail‘,query:{ checkType:row.id,role:"manger"}});
//新开页
let newUrl = this.$router.resolve({path:‘/duocai/detail‘,query{checkType:row.id,role:"manger"}});
window.open(newUrl.href, "_blank");
},
以上是关于Vue 路由新开页跳转的主要内容,如果未能解决你的问题,请参考以下文章
vue列表页跳转到列表详情页再返回到列表页, 页面不刷新保持原来的状态