Vue 跳转路由并在新窗口弹出

methods: {
      beforeInquiry () {
        const { href } = this.$router.resolve({
          name:'consult'
        });
        window.open(href, '_blank');
      },
}

 

相关文章: