1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00

Merge 2ec42428fda0f05d886179b37c34c63e1323cc5d into 6858a9ad67483025f6a9432a926beb9327037be3

This commit is contained in:
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

View File

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