let route_blank = this.$router.resolve({ path: "/地址",//地址 query: { id: this.id }//传值 }); let temp_window = window.open(route_blank.href, "_blank");if (temp_window == null) { alert("您的浏览器启用弹出窗口过滤功能!\n请关闭此功能!"); }
本文参考链接:https://www.cnblogs.com/wulicute-TS/p/12580092.html