解决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');
解决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');
转载于:https://www.cnblogs.com/karila/p/9009580.html