vue中路由在新的标签页打开

如下

let routeData = this.$router.resolve({
    name: 'commercialPreview',
    query: {cylType: this.$route.query.cylType},
    params: { id: this.id }
})
window.open(routeData.href, '_blank')
原文地址:https://www.cnblogs.com/robinunix/p/11599139.html