Commit fe9a227e authored by huangjie's avatar huangjie

*

parent 6150d91b
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
}).then(() => { }).then(() => {
this.$store.dispatch('LogOut').then(() => { this.$store.dispatch('LogOut').then(() => {
sessionStorage.removeItem('views') //清空导航栏上的数据 sessionStorage.removeItem('views') //清空导航栏上的数据
location.href = '/index'; location.href = '/index/gys';
}) })
}).catch(() => {}); }).catch(() => {});
}, },
......
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
}else{//无租户列表和一个租户直接登录 }else{//无租户列表和一个租户直接登录
this.$store.dispatch("Login", froms).then(() => { this.$store.dispatch("Login", froms).then(() => {
this.loading = false; this.loading = false;
this.$router.push({ path: this.redirect || "/" }).catch(()=>{}); this.$router.push({ path: this.redirect || "/index/gys" }).catch(()=>{});
}).catch(() => { }).catch(() => {
this.loading = false; this.loading = false;
if (this.captchaEnabled) { if (this.captchaEnabled) {
......
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