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

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

 

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案