解决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');