Skip to content

Commit 5fd28c5

Browse files
author
Nathan Reyes
committed
Linting.
1 parent 9baac1f commit 5fd28c5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/DatePicker.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,12 @@ export default {
196196
},
197197
inputMask() {
198198
const masks = this.$locale.masks;
199-
if (this.isTime)
199+
if (this.isTime) {
200200
return this.is24hr ? masks.inputTime24hr : masks.inputTime;
201-
if (this.isDateTime)
201+
}
202+
if (this.isDateTime) {
202203
return this.is24hr ? masks.inputDateTime24hr : masks.inputDateTime;
204+
}
203205
return this.$locale.masks.input;
204206
},
205207
slotArgs() {
@@ -307,7 +309,7 @@ export default {
307309
},
308310
},
309311
watch: {
310-
inputMask(val) {
312+
inputMask() {
311313
this.formatInput();
312314
},
313315
isRange: {

0 commit comments

Comments
 (0)