欢迎访问 歪脖札记~

vue-router在新窗口打开

let routeUrl = this.$router.resolve({name: 'index-id', params: {id: 123} });
window.open(routeUrl.href, '_blank');
加载中...
豫ICP备16002920号-3