mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Merge 2ec42428fda0f05d886179b37c34c63e1323cc5d into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
3f60355aa4
@ -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…
x
Reference in New Issue
Block a user