Prettier format all js files
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
export default {
|
||||
mounted: function () {
|
||||
mounted: function() {
|
||||
this.$root.$on('field-change', this.handleFieldChange)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleFieldChange: function (event) {
|
||||
handleFieldChange: function(event) {
|
||||
const { value, name } = event
|
||||
if (typeof this[name] !== undefined) {
|
||||
this[name] = value
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user