This commit is contained in:
Fine 2025-05-12 11:33:19 +08:00
parent 33c188c326
commit de2b9a4069
2 changed files with 2 additions and 2 deletions

View File

@ -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<number[] | string[]>, default: () => [] },
dates: { type: Array as PropType<Date[]>, default: () => [] },
disabledDate: { type: Function, default: () => false },
format: {
type: String,

View File

@ -116,7 +116,7 @@ limitations under the License. -->
const datepicker = ref(null);
const { t } = useI18n();
const show = ref<boolean>(false);
const dates = ref<Date | string[] | any>([]);
const dates = ref<Date[]>([]);
const props = defineProps({
position: { type: String, default: "bottom" },
name: [String],