默认路径更改
parent
c72761ac58
commit
83b4503a30
|
@ -134,7 +134,7 @@ export default {
|
|||
Cookies.remove('rememberMe');
|
||||
}
|
||||
this.$store.dispatch("Login", this.loginForm).then(() => {
|
||||
this.$router.push({path: this.redirect || "/"}).catch(() => {
|
||||
this.$router.push({path: "/overview"}).catch(() => {
|
||||
});
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
|
|
Loading…
Reference in New Issue