perf: Login finally loading false.
This commit is contained in:
parent
33a93a12b4
commit
2ec42428fd
|
@ -159,9 +159,8 @@ export default {
|
|||
this.$store.dispatch('user/login', this.loginForm)
|
||||
.then(() => {
|
||||
this.$router.push({ path: this.redirect || '/', query: this.otherQuery })
|
||||
this.loading = false
|
||||
})
|
||||
.catch(() => {
|
||||
.finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue