vue路由跳转打开新页面
程序员文章站
2022-05-14 09:27:10
...
handleLink(row) {
let link = this.$router.resolve({
path: '/user',
query: {
id: row.id
}
});
window.open(link.href, '_blank')
},