默认路径更改

master
DongZeLiang 2024-04-13 00:15:26 +08:00
parent c72761ac58
commit 83b4503a30
1 changed files with 1 additions and 1 deletions

View File

@ -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;