commit
e808df0285
2 changed files with 8 additions and 1 deletions
|
@ -9,7 +9,7 @@ const LoginForm = {
|
|||
methods: {
|
||||
submit () {
|
||||
this.$store.dispatch('loginUser', this.user).then(
|
||||
() => { this.$router.push('/main/friends')},
|
||||
() => {},
|
||||
(error) => {
|
||||
this.authError = error
|
||||
this.user.username = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue