diff --git a/web/src/views/login/index.vue b/web/src/views/login/index.vue index 5dc12c0ac765a92c712b5c5905735bd66540f17a..4f64ef5a3ea8c32b3b32a492401db63c769e7e9d 100644 --- a/web/src/views/login/index.vue +++ b/web/src/views/login/index.vue @@ -169,7 +169,7 @@ export default { this.$store .dispatch("user/login", this.loginForm) .then(() => { - this.$router.push({ path: this.redirect || "/" }); + this.$router.push({ path: "/" }); this.loading = false; }) .catch(() => {