解决vue-router中this.$router.push无法在新窗口中打开

let routeData = this.$router.resolve({ path: '/consult', query: {  userid: row.adviserId, Roomid:row.courseId,role:1} });
window.open(routeData.href, '_blank');

  

05-11 13:58