Tidied up

This commit is contained in:
Joel Collins 2019-06-14 21:42:19 +01:00
parent ad49e49b4a
commit 4db11c018d

View file

@ -62,14 +62,8 @@ export default {
}
},
created: function () {
// `this` points to the vm instance
console.log(this.schema)
},
methods: {
updateForm(fieldName, value) {
console.log(`${fieldName}: ${value}`)
this.$set(this.formData, fieldName, value);
this.$emit('input', this.formData)
},