Vue 路由新开页跳转


            chenkHandle(row){
                //原页打开
                // this.$router.push({path:'/duocai/detail',query:{ checkType:row.id,role:"manger"}});
                //新开页
                let newUrl = this.$router.resolve({path:'/duocai/detail',query{checkType:row.id,role:"manger"}});
                window.open(newUrl.href, "_blank");
            },
            

  

posted @ 2020-07-21 15:22  Action_swt  阅读(232)  评论(0编辑  收藏  举报