vue新窗口跳转路由

this.$router.push()方法我在这就不多说了;
看代码:  
let newUrl = this.$router.resolve({
        path: '/test/test'
      });
 window.open(newUrl.href, '_blank');
这样可以实现新窗口跳转,也可以带参,注意点newUrl.href而不是newUrl。
原文地址:https://www.cnblogs.com/wangxiaoer5200/p/11978216.html