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");
            },
            

  

你可能感兴趣的:(Vue 路由新开页跳转)