Commit cd28513f authored by anxixi's avatar anxixi

未登录跳转修改

parent 3f7e802e
......@@ -228,9 +228,9 @@
}
this.currentIndex = index;
window.sessionStorage.setItem("currentNav",index);
if((index==1||index==2)&&!this.userInfo) {
this.$router.push('/login');
}
// if((index==1||index==2)&&!this.userInfo) {
// this.$router.push('/login');
// }
if(index==5) this.$router.push("/knowledge");
if(index==4) this.$router.push("/useHelp");
if(index==0) this.$router.push("/");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment