Skip to content

Commit 6a171e3

Browse files
committed
Syntax error fix.
1 parent 3aec9af commit 6a171e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fields/optional/fieldCleave.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ export default {
4343
maxLength: 0
4444
}));
4545
46-
if (this.cleave.properties && this.cleave.properties.hasOwnProperty('result')) {
47-
this.$watch('cleave.properties.result', () => {
46+
if (this.cleave.properties && this.cleave.properties.hasOwnProperty("result")) {
47+
this.$watch("cleave.properties.result", () => {
4848
this.value = this.cleave.properties.result;
4949
});
5050
} else {
51-
this.$el.addEventListener('input', this.inputChange)
51+
this.$el.addEventListener("input", this.inputChange);
5252
}
5353
5454
} else {
@@ -67,7 +67,7 @@ export default {
6767
beforeDestroy() {
6868
if (this.cleave) {
6969
this.cleave.destroy();
70-
this.$el.removeEventListener('input', this.inputChange);
70+
this.$el.removeEventListener("input", this.inputChange);
7171
}
7272
7373
}

0 commit comments

Comments
 (0)