Compare commits
No commits in common. "bd7568a159330b607993869f50d8c5481e069b0e" and "191dbfa23a54ceae21c12c46f705c71216b2a247" have entirely different histories.
bd7568a159
...
191dbfa23a
|
@ -49,6 +49,9 @@
|
|||
onSubmit(evt) {
|
||||
evt.preventDefault()
|
||||
this.$store.dispatch('login', {username: this.form.username, password: this.form.password})
|
||||
.catch((err) => {
|
||||
console.log(err)
|
||||
})
|
||||
.then(() => {
|
||||
this.$cookies.set('key', this.$store.state.key)
|
||||
if (!this.$route.params.returnTo)
|
||||
|
|
Loading…
Reference in New Issue