|
@@ -287,8 +287,8 @@
|
|
|
}else if(res.code == 503){
|
|
|
this.userTypeCode = "5";
|
|
|
}
|
|
|
- this.loading = false;
|
|
|
this.getCodeOne();
|
|
|
+ this.loading = false;
|
|
|
return
|
|
|
}
|
|
|
if(res.data.type){
|
|
@@ -307,6 +307,7 @@
|
|
|
for(let o=0;o<routeData[i].children.length;o++){
|
|
|
if(!routeData[i].children[o].alwaysShow&&!routeData[i].children[o].hidden){
|
|
|
let urlText = routeData[i].path + '/' + routeData[i].children[o].path;
|
|
|
+ console.log("urlText=1",urlText)
|
|
|
this.$router.push({ path: this.redirect || urlText }).catch(()=>{});
|
|
|
return
|
|
|
}else{
|
|
@@ -314,6 +315,7 @@
|
|
|
for(let x=0;x<routeData[i].children[o].children.length;x++){
|
|
|
if(!routeData[i].children[o].children[x].alwaysShow&&!routeData[i].children[o].children[x].hidden){
|
|
|
let urlText = routeData[i].path + '/' + routeData[i].children[o].path + '/' + routeData[i].children[o].children[x].path;
|
|
|
+ console.log("urlText=2",urlText)
|
|
|
this.$router.push({ path: this.redirect || urlText }).catch(()=>{});
|
|
|
return
|
|
|
}
|
|
@@ -325,8 +327,6 @@
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
- console.log('1');
|
|
|
- this.loading = false;
|
|
|
// this.$router.push({ path: this.redirect || "/chemicalLibrary/medicUniversityHome" }).catch(()=>{});
|
|
|
this.$router.push({ path: this.redirect || "/chemicalLibrary/medicUniversityHome" }).catch(()=>{});
|
|
|
}
|