vue路由跳转新窗口写法

let routeData =this.$router.resolve({

  name: "searchGoods",

  query: params,

  params:{catId:params.catId}

});

window.open(routeData.href, '_blank');

你可能感兴趣的:(vue路由跳转新窗口写法)