跳转新窗口主要依赖的是<a/>标签 

html实现:

<a href="https://www/baidu.com" target="_blank"/>

 vue 实现

const { href } = this.$router.resolve({
          path: "/visual/detail",
          query: {
                  userNum: this.activeUserNum,
                  dateRange: this.dateRange,
                  keyName: this.keyName,
                  athUrl: this.pathUrl,
                  uname: this.uname,
                },
 });
window.open(href, "_blank");

  

 

 

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2022-02-08
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2022-02-02
猜你喜欢
  • 2022-02-11
  • 2021-11-24
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
相关资源
相似解决方案