vue 跳转路由新开页

const { href } = this.$router.resolve({
  path: '/switch/test/preview',
  query: {
    paperId: RowData.id,
    id: this.courseId
  }
});
window.open(href, '_blank');

  

原文地址:https://www.cnblogs.com/qinshizhen/p/15200262.html