vue 跳转路由新开页
const { href } = this.$router.resolve({
path: '/switch/test/preview',
query: {
paperId: RowData.id,
id: this.courseId
}
});
window.open(href, '_blank');
const { href } = this.$router.resolve({
path: '/switch/test/preview',
query: {
paperId: RowData.id,
id: this.courseId
}
});
window.open(href, '_blank');