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

  

原文地址:https://www.cnblogs.com/swt-axios/p/13355287.html