From de2b9a406999c4c24fb3fb0e44b170d742ee4674 Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 12 May 2025 11:33:19 +0800 Subject: [PATCH] fix type --- src/components/DateCalendar.vue | 2 +- src/components/TimePicker.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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],