vue2 路由打开新标签页

2022-12-13  本文已影响0人  LemonTree7
let routeData = this.$router.resolve({
      path: "/list",
      params: { id: `${xx.id}` },
});
window.open(routeData.href, "_blank");
上一篇下一篇

猜你喜欢

热点阅读