一、本页面跳转
this.$router.push(url);
二、打开新页面跳转
gorouter(url,id,companyid){
const {href} = this.$router.resolve({
path:url,
query:{
id:id,
companyid:id
},
});
window.open(href,"_blank");
}
一、本页面跳转
this.$router.push(url);
二、打开新页面跳转
gorouter(url,id,companyid){
const {href} = this.$router.resolve({
path:url,
query:{
id:id,
companyid:id
},
});
window.open(href,"_blank");
}