fix vue-plugin for eslint -> it doesn't like the html plugin, fix eslint errors

This commit is contained in:
2017-08-30 13:35:24 +02:00
parent 311e911523
commit 6cd58726c5
9 changed files with 237 additions and 242 deletions

View File

@@ -2,7 +2,7 @@
<div id="login_form">
<div class="holder">
<div class="logo">
<img src="assets/images/cms_logo_white.png" valid-v-on:foo="bar" alt="">
<img src="assets/images/cms_logo_white.png" alt="">
</div>
<div class="content">
@@ -43,25 +43,25 @@ export default {
}
},
buttons: [{
label: "login",
type: "submit"
label: "login",
type: "submit"
}]
}
},
methods: {
login(formData) {
this.$store.dispatch("login", formData)
.then(user => {
console.log("---- user login --------");
console.log(user);
this.$router.go(-1);
})
.catch(error => {
console.log("---- login error -------");
console.log(error);
});
}
}
methods: {
login(formData) {
this.$store.dispatch("login", formData)
.then(user => {
console.log("---- user login --------");
console.log(user);
this.$router.go(-1);
})
.catch(error => {
console.log("---- login error -------");
console.log(error);
});
}
}
}
</script>