vue中使用$router.push跳转新页面

vue 中使用$router.push() 跳转至新页面
let route = this.$router.resolve({ path: '/home', query: {  id: 1 } });
window.open(route.href, '_blank');

  

posted @ 2021-05-27 19:48  张_Ning  阅读(2085)  评论(0编辑  收藏  举报