Don't redirect after login.
This commit is contained in:
parent
d954db0221
commit
ccbfc64bfc
1 changed files with 1 additions and 3 deletions
|
@ -7,9 +7,7 @@ const LoginForm = {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
submit () {
|
submit () {
|
||||||
this.$store.dispatch('loginUser', this.user).then(() => {
|
this.$store.dispatch('loginUser', this.user)
|
||||||
this.$router.push('/main/friends')
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue