pull/3607/merge
Edwin Betancourt 2024-11-28 00:29:09 +00:00 committed by GitHub
commit 3f60355aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -159,9 +159,8 @@ export default {
this.$store.dispatch('user/login', this.loginForm) this.$store.dispatch('user/login', this.loginForm)
.then(() => { .then(() => {
this.$router.push({ path: this.redirect || '/', query: this.otherQuery }) this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
this.loading = false
}) })
.catch(() => { .finally(() => {
this.loading = false this.loading = false
}) })
} else { } else {