1. <router-link>The TAB opens a new window
< the router - the link target = "_blank" : to = "{path: '/ home' query: {id: '1'}}" > open the new page home page < / router - the link >Copy the code
    1. Programmatic navigation:
print_schedule() {
  let id = this.id;
  const { href } = this.$router.resolve({
    name: `print_schedule`,
    params: {
      id: id
    }
  });
  window.open(href, "_blank");
}
Copy the code