better2021 / Blog

个人博客
https://feiyuweb.me/Blog
1 stars 0 forks source link

在vue的单页面打开新的浏览器窗口 #48

Open better2021 opened 3 years ago

better2021 commented 3 years ago
const { href } = this.$router.resolve({
        path: "/tenantManage/index" , // 要跳转的页面
        query:"123"  // 跳转传递的参数
      });
      window.open(href, "_blank");