解决this.$router.push无法在新窗口打开

let routeData = this.$router.resolve({ path: '/reportpreview', query: { id: id } });

window.open(routeData.href, '_blank');

猜你喜欢

转载自blog.csdn.net/wandoumm/article/details/82977746