diff --git a/src/components/JMultipleDatePicker.vue b/src/components/JMultipleDatePicker.vue index 4aaeb71..7a26c80 100644 --- a/src/components/JMultipleDatePicker.vue +++ b/src/components/JMultipleDatePicker.vue @@ -101,7 +101,7 @@ export default { const oldVal = this.checkedValue.join(',') if (newVal !== oldVal) { if (newVal) { - this.checkedValue = newVal.split(',') + this.checkedValue = [...new Set(newVal.split(','))] } else { this.checkedValue = [] }