Merge pull request #3806 from SergioCrisostomo/datepicker-patches
Datepicker patches
This commit is contained in:
commit
9aacb4c8b5
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@
|
||||||
leftPickerTable: `${this.selectionMode}-table`,
|
leftPickerTable: `${this.selectionMode}-table`,
|
||||||
rightPickerTable: `${this.selectionMode}-table`,
|
rightPickerTable: `${this.selectionMode}-table`,
|
||||||
leftPanelDate: leftPanelDate,
|
leftPanelDate: leftPanelDate,
|
||||||
rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, leftPanelDate.getDate())
|
rightPanelDate: new Date(leftPanelDate.getFullYear(), leftPanelDate.getMonth() + 1, 1)
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -668,7 +668,7 @@
|
||||||
this.reset();
|
this.reset();
|
||||||
},
|
},
|
||||||
focus() {
|
focus() {
|
||||||
this.$refs.input.focus();
|
this.$refs.input && this.$refs.input.focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue