diff --git a/src/components/DateCalendar.vue b/src/components/DateCalendar.vue index 0ea3e13b..69716bf7 100755 --- a/src/components/DateCalendar.vue +++ b/src/components/DateCalendar.vue @@ -169,7 +169,7 @@ limitations under the License. --> value: { type: Date }, left: { type: Boolean, default: false }, right: { type: Boolean, default: false }, - dates: { type: Array as PropType, default: () => [] }, + dates: { type: Array as PropType, default: () => [] }, disabledDate: { type: Function, default: () => false }, format: { type: String, diff --git a/src/components/TimePicker.vue b/src/components/TimePicker.vue index 3aa11709..a598c2a2 100755 --- a/src/components/TimePicker.vue +++ b/src/components/TimePicker.vue @@ -116,7 +116,7 @@ limitations under the License. --> const datepicker = ref(null); const { t } = useI18n(); const show = ref(false); - const dates = ref([]); + const dates = ref([]); const props = defineProps({ position: { type: String, default: "bottom" }, name: [String],