console error fixed
This commit is contained in:
parent
5542894ccd
commit
68e4d3a9f3
@ -256,7 +256,7 @@ export default {
|
|||||||
onInputDateSelected(selectedDates, dateStr, instance) {
|
onInputDateSelected(selectedDates, dateStr, instance) {
|
||||||
this.filtered[this.filter_index].value = dateStr;
|
this.filtered[this.filter_index].value = dateStr;
|
||||||
|
|
||||||
let date = instance.formatDate(selectedDates[0], 'Y-m-d');
|
let date = selectedDates.length ? instance.formatDate(selectedDates[0], 'Y-m-d') : null;
|
||||||
|
|
||||||
if (selectedDates.length > 1) {
|
if (selectedDates.length > 1) {
|
||||||
let dates = [];
|
let dates = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user