Vue打开新页面的方法

let routeData = this.$router.resolve({
   name: "detail",
   query: {goodsId:'1111'}
});
window.open(routeData.href, '_blank');
posted @ 2018-10-09 17:07  古墩古墩  Views(1920)  Comments(0Edit  收藏  举报